mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-29 08:01:31 -07:00
fix gcp_iam_role not updating
gcp_iam_role was not updating previously. The API uses a PATCH and not a PUT. Also fixing an accidental leftover diff from a bad merge. fixes #236.
This commit is contained in:
parent
d063d44b73
commit
2db181d084
6 changed files with 41 additions and 18 deletions
|
@ -255,7 +255,7 @@ def update(module, link, fetch):
|
|||
}
|
||||
request = resource_to_request(module)
|
||||
del request["name"]
|
||||
return return_if_object(module, auth.put(link, request, params=params))
|
||||
return return_if_object(module, auth.patch(link, request, params=params))
|
||||
|
||||
|
||||
def updateMask(request, response):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue