Skip to content

Commit

Permalink
removed unwanted logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 28, 2023
1 parent cee8cdb commit 17b3bd6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
mkdir ../../musl-cross
wget -P ~ https://musl.cc/aarch64-linux-musl-cross.tgz
tar -xvf ~/aarch64-linux-musl-cross.tgz -C ../../musl-cross
ls assets
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down
1 change: 0 additions & 1 deletion pkg/defaults/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config)
// Handle a deprecated case where resources are provided in config file
return integration.CreateIntegration(portClient, applicationConfig.StateKey, applicationConfig.EventListenerType, defaultIntegrationConfig)
} else {
klog.Infof("integration : %v", existingIntegration)
klog.Infof("Integration with state key %s already exists, patching it", applicationConfig.StateKey)
integrationPatch := &port.Integration{
EventListener: getEventListenerConfig(applicationConfig.EventListenerType),
Expand Down
3 changes: 0 additions & 3 deletions pkg/port/cli/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ 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 All @@ -29,7 +28,6 @@ func (c *PortClient) CreateIntegration(i *port.Integration) (*port.Integration,
SetBody(parseIntegration(i)).
SetResult(&pb).
Post("v1/integration")
klog.Infof("Creating integration: %v", resp)
if err != nil {
return nil, err
}
Expand All @@ -44,7 +42,6 @@ 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", resp)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 17b3bd6

Please sign in to comment.