changing endpoints on container cluster/nodepool (#281)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-06-18 10:04:53 -07:00 committed by Alex Stephen
commit 07815ee1a8
3 changed files with 5 additions and 5 deletions

View file

@ -376,7 +376,7 @@ def main():
def collection(module):
res = {'project': module.params['project'], 'location': module.params['location'], 'cluster': replace_resource_dict(module.params['cluster'], 'name')}
return "https://container.googleapis.com/v1/projects/{project}/zones/{location}/clusters/{cluster}/nodePools".format(**res)
return "https://container.googleapis.com/v1/projects/{project}/locations/{location}/clusters/{cluster}/nodePools".format(**res)
def fetch_list(module, link):