diff options
author | Seth Foster <fosterbseth@gmail.com> | 2023-11-16 20:05:40 +0100 |
---|---|---|
committer | Seth Foster <fosterseth@users.noreply.github.com> | 2024-02-02 16:37:41 +0100 |
commit | 6cb2cd18b029701b101ef32e96c8e9bedd68f3ce (patch) | |
tree | 91b5800de98732e331e8b6229d8d80c2246fe77c | |
parent | Fix inconsistent tab width (diff) | |
download | awx-6cb2cd18b029701b101ef32e96c8e9bedd68f3ce.tar.xz awx-6cb2cd18b029701b101ef32e96c8e9bedd68f3ce.zip |
Fix proper indent to instance module
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
-rw-r--r-- | awx_collection/plugins/modules/instance.py | 4 | ||||
-rw-r--r-- | awx_collection/test/awx/test_completeness.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/awx_collection/plugins/modules/instance.py b/awx_collection/plugins/modules/instance.py index c29246ae31..2efcdd6f5f 100644 --- a/awx_collection/plugins/modules/instance.py +++ b/awx_collection/plugins/modules/instance.py @@ -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) diff --git a/awx_collection/test/awx/test_completeness.py b/awx_collection/test/awx/test_completeness.py index 6f5c459e09..b208f3cdb0 100644 --- a/awx_collection/test/awx/test_completeness.py +++ b/awx_collection/test/awx/test_completeness.py @@ -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] |