Skip to content

Commit

Permalink
Update cloud account URL to upsert (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Qiu authored Feb 7, 2022
1 parent 5a6ca86 commit 0da10fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysdig/internal/client/secure/cloud_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func (client *sysdigSecureClient) cloudAccountURL(includeExternalID bool) string {
if includeExternalID {
return fmt.Sprintf("%s/api/cloud/v2/accounts?includeExternalID=true", client.URL)
return fmt.Sprintf("%s/api/cloud/v2/accounts?includeExternalID=true&upsert=true", client.URL)
}
return fmt.Sprintf("%s/api/cloud/v2/accounts", client.URL)
}
Expand Down

0 comments on commit 0da10fd

Please sign in to comment.