mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-02 20:24:29 -07:00
Test Fixes (#299)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
697908c7fe
commit
5b92781ab0
45 changed files with 19 additions and 96 deletions
|
@ -108,8 +108,8 @@ def main():
|
|||
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
||||
|
||||
items = fetch_list(module, collection(module))
|
||||
if items.get('items'):
|
||||
items = items.get('items')
|
||||
if items.get('accounts'):
|
||||
items = items.get('accounts')
|
||||
else:
|
||||
items = []
|
||||
return_value = {'resources': items}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue