Skip to content

Commit

Permalink
updating app type
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 31, 2023
1 parent 17b3bd6 commit 7fc7893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/port/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ func DeleteIntegration(portClient *cli.PortClient, stateKey string) error {
}

func PatchIntegration(portClient *cli.PortClient, stateKey string, integration *port.Integration) error {
// Fixing an incorrect app type caused from previous versions (kubernetes -> K8S EXPORTER)
integration.InstallationAppType = "K8S EXPORTER"
_, err := portClient.Authenticate(context.Background(), portClient.ClientID, portClient.ClientSecret)
if err != nil {
return fmt.Errorf("error authenticating with Port: %v", err)
Expand Down

0 comments on commit 7fc7893

Please sign in to comment.