Skip to content

Commit

Permalink
Add missing variable assignments in privateCA cert authority (GoogleC…
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and khajduczenia committed Oct 12, 2021
1 parent aba7385 commit bd3b67f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@

log.Printf("[DEBUG] Disabling CertificateAuthority: %#v", obj)

res, err = sendRequest(config, "POST", billingProject, disableUrl, userAgent, nil)
dRes, err := sendRequest(config, "POST", billingProject, disableUrl, userAgent, nil)
if err != nil {
return fmt.Errorf("Error disabling CertificateAuthority: %s", err)
}

var opRes map[string]interface{}
err = privatecaOperationWaitTimeWithResponse(
config, res, &opRes, project, "Disabling CertificateAuthority", userAgent,
config, dRes, &opRes, project, "Disabling CertificateAuthority", userAgent,
d.Timeout(schema.TimeoutDelete))
if err != nil {
return fmt.Errorf("Error waiting to disable CertificateAuthority: %s", err)
Expand Down

0 comments on commit bd3b67f

Please sign in to comment.