Skip to content

Commit

Permalink
Fix ApigeeEnvironment update response type. (#12415) (#20745)
Browse files Browse the repository at this point in the history
[upstream:54c7ca8f9f45eab99bdce4dc574085828bfd3f3d]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 18, 2024
1 parent 833c19f commit 6e4c36c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .changelog/12415.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
apigee: fixed error 404 for `environment` update requests.
```
7 changes: 0 additions & 7 deletions google/services/apigee/resource_apigee_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,6 @@ func resourceApigeeEnvironmentUpdate(d *schema.ResourceData, meta interface{}) e
log.Printf("[DEBUG] Finished updating Environment %q: %#v", d.Id(), res)
}

err = ApigeeOperationWaitTime(
config, res, "Updating Environment", userAgent,
d.Timeout(schema.TimeoutUpdate))

if err != nil {
return err
}
}

return resourceApigeeEnvironmentRead(d, meta)
Expand Down

0 comments on commit 6e4c36c

Please sign in to comment.