mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-23 03:11:22 -07:00
changing endpoints on container cluster/nodepool (#281)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
ab113ad90a
commit
07815ee1a8
3 changed files with 5 additions and 5 deletions
|
@ -1174,7 +1174,7 @@ def response_to_hash(module, response):
|
|||
def async_op_url(module, extra_data=None):
|
||||
if extra_data is None:
|
||||
extra_data = {}
|
||||
url = "https://container.googleapis.com/v1/projects/{project}/zones/{zone}/operations/{op_id}"
|
||||
url = "https://container.googleapis.com/v1/projects/{project}/locations/{location}/operations/{op_id}"
|
||||
combined = extra_data.copy()
|
||||
combined.update(module.params)
|
||||
return url.format(**combined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue