mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix proper indent to instance module
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
This commit is contained in:
parent
5d1dd8ec41
commit
6cb2cd18b0
@ -130,8 +130,8 @@ def main():
|
||||
if peers:
|
||||
for p in peers:
|
||||
if not p.isdigit():
|
||||
p_id = module.get_one('receptor_addresses', allow_none=False, data={'address': p})
|
||||
peers_ids.append(p_id['id'])
|
||||
p_id = module.get_one('receptor_addresses', allow_none=False, data={'address': p})
|
||||
peers_ids.append(p_id['id'])
|
||||
else:
|
||||
peers_ids.append(p)
|
||||
|
||||
|
||||
@ -248,7 +248,7 @@ def test_completeness(collection_import, request, admin_user, job_template, exec
|
||||
singular_endpoint = '{0}'.format(endpoint)
|
||||
if singular_endpoint.endswith('ies'):
|
||||
singular_endpoint = singular_endpoint[:-3]
|
||||
elif singular_endpoint.endswith('ses'): # receptor_addresses
|
||||
elif singular_endpoint.endswith('ses'): # receptor_addresses
|
||||
singular_endpoint = singular_endpoint[:-2]
|
||||
elif singular_endpoint != 'settings' and singular_endpoint.endswith('s'):
|
||||
singular_endpoint = singular_endpoint[:-1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user