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 24caf09 commit 8ea77e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/port/cli/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func (c *PortClient) CreateIntegration(i *port.Integration) (*port.Integration,
resp, err := c.Client.R().
SetBody(parseIntegration(i)).
SetResult(&pb).
SetQueryParam("upsert", "true").
Post("v1/integration")
klog.Infof("Creating integration: %v", resp)
if err != nil {
return nil, err
}
Expand All @@ -44,7 +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)
klog.Infof("Integration: %v", resp)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 8ea77e4

Please sign in to comment.