Skip to content

Commit 0da10fd

Browse files
author
Alex Qiu
authored
Update cloud account URL to upsert (#152)
1 parent 5a6ca86 commit 0da10fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sysdig/internal/client/secure/cloud_account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func (client *sysdigSecureClient) cloudAccountURL(includeExternalID bool) string {
1212
if includeExternalID {
13-
return fmt.Sprintf("%s/api/cloud/v2/accounts?includeExternalID=true", client.URL)
13+
return fmt.Sprintf("%s/api/cloud/v2/accounts?includeExternalID=true&upsert=true", client.URL)
1414
}
1515
return fmt.Sprintf("%s/api/cloud/v2/accounts", client.URL)
1616
}

0 commit comments

Comments
 (0)