mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
linting
This commit is contained in:
parent
e2bf3a0287
commit
5478c5f2fb
@ -106,7 +106,7 @@ def main():
|
||||
if name.isdigit():
|
||||
results = module.get_endpoint('projects', **{'data': {'id': name}})
|
||||
if results['json']['count'] == 0:
|
||||
module.fail_json(msg='Could not find Project with ID: {0}'.format(name))
|
||||
module.fail_json(msg='Could not find Project with ID: {0}'.format(name))
|
||||
project = results['json']['results'][0]
|
||||
else:
|
||||
lookup_data = {'name': name}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user