Skip to content

Commit

Permalink
assets and docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 28, 2023
1 parent c4c97ae commit cee8cdb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/defaults/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import (
"github.com/port-labs/port-k8s-exporter/pkg/port/cli"
"github.com/port-labs/port-k8s-exporter/pkg/port/integration"
"k8s.io/klog/v2"
"log"
"os"
)

func getEventListenerConfig(eventListenerType string) *port.EventListenerSettings {
Expand All @@ -27,12 +25,6 @@ func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config)
CreateMissingRelatedEntities: applicationConfig.CreateMissingRelatedEntities,
}

path, err := os.Getwd()
if err != nil {
log.Println(err)
}
klog.Infof(path)

if err != nil {
klog.Infof("Could not get integration with state key %s, error: %s", applicationConfig.StateKey, err.Error())
klog.Infof("Creating integration")
Expand Down

0 comments on commit cee8cdb

Please sign in to comment.