From 24caf0923c806d3503a68b97c8fd27c0bad5ee7a Mon Sep 17 00:00:00 2001 From: yair Date: Thu, 28 Dec 2023 16:54:11 +0200 Subject: [PATCH] logs --- pkg/port/cli/integration.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/port/cli/integration.go b/pkg/port/cli/integration.go index e158f6b..9db5604 100644 --- a/pkg/port/cli/integration.go +++ b/pkg/port/cli/integration.go @@ -3,6 +3,7 @@ package cli import ( "fmt" "github.com/port-labs/port-k8s-exporter/pkg/port" + "k8s.io/klog/v2" ) func parseIntegration(i *port.Integration) *port.Integration { @@ -43,6 +44,7 @@ func (c *PortClient) GetIntegration(stateKey string) (*port.Integration, error) resp, err := c.Client.R(). SetResult(&pb). Get(fmt.Sprintf("v1/integration/%s", stateKey)) + klog.Infof("Integration: %v", pb) if err != nil { return nil, err }