Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 28, 2023
1 parent 151f6fc commit 24caf09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/port/cli/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 24caf09

Please sign in to comment.