From cee8cdb06993f777c7464b255dc4a491cbe78331 Mon Sep 17 00:00:00 2001 From: yair Date: Thu, 28 Dec 2023 20:34:05 +0200 Subject: [PATCH] assets and docker file --- pkg/defaults/init.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/defaults/init.go b/pkg/defaults/init.go index f6c4d64..6e9b3ba 100644 --- a/pkg/defaults/init.go +++ b/pkg/defaults/init.go @@ -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 { @@ -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")