Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas11 committed Sep 24, 2024
1 parent 8babd7c commit 41a95f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions provider/pkg/azure/client_azcore.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ func (c *azCoreClient) putOrPatch(ctx context.Context, method string, id string,
// its API as long-running by an oversight.
created := false
if asyncStyle != "" || resp.StatusCode == http.StatusAccepted {
// We have now created a resource. It is very important to ensure that from this point on,
// any other error below returns the ID using the `pulumirpc.ErrorResourceInitFailed` error
// details annotation. Otherwise, the resource is leaked. We ensure that we wrap any await
// errors as a partial error to the RPC.
created = resp.StatusCode < 400

apiVersion := queryParameters["api-version"].(string)
Expand Down

0 comments on commit 41a95f7

Please sign in to comment.