Skip to content

Commit

Permalink
Fix service account formatting in API request. (openconfig#2652)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstoll authored Feb 12, 2024
1 parent 7b3078e commit d13e1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci-trigger/cloudbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (c *cloudBuild) submitBuild(objPath string) (string, string, error) {
Object: objPath,
},
}
build.ServiceAccount = gcpCloudBuildServiceAccount
build.ServiceAccount = "projects/" + gcpProjectID + "/serviceAccounts/" + gcpCloudBuildServiceAccount

resp, err := c.buildClient.Projects.Locations.Builds.Create("projects/"+gcpProjectID+"/locations/us-west1", build).Do()
if err != nil {
Expand Down

0 comments on commit d13e1c2

Please sign in to comment.