summaryrefslogtreecommitdiffstats
path: root/awx_collection
diff options
context:
space:
mode:
authorSeth Foster <fosterbseth@gmail.com>2023-11-16 20:05:40 +0100
committerSeth Foster <fosterseth@users.noreply.github.com>2024-02-02 16:37:41 +0100
commit6cb2cd18b029701b101ef32e96c8e9bedd68f3ce (patch)
tree91b5800de98732e331e8b6229d8d80c2246fe77c /awx_collection
parentFix inconsistent tab width (diff)
downloadawx-6cb2cd18b029701b101ef32e96c8e9bedd68f3ce.tar.xz
awx-6cb2cd18b029701b101ef32e96c8e9bedd68f3ce.zip
Fix proper indent to instance module
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
Diffstat (limited to 'awx_collection')
-rw-r--r--awx_collection/plugins/modules/instance.py4
-rw-r--r--awx_collection/test/awx/test_completeness.py2
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]