From 192c0dc9d16458255102ce13d1707d8285defe12 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sat, 20 Jan 2018 22:32:45 +0100 Subject: [PATCH] ACI: Fix recently introduced bug (#35139) This fixes #35135 --- lib/ansible/module_utils/network/aci/aci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/network/aci/aci.py b/lib/ansible/module_utils/network/aci/aci.py index 4823d294f72..c20fc028eb3 100644 --- a/lib/ansible/module_utils/network/aci/aci.py +++ b/lib/ansible/module_utils/network/aci/aci.py @@ -522,7 +522,7 @@ class ACIModule(object): # matching the provided ID value for the parent object else: path = 'api/class/{0}.json'.format(parent_class) - filter_string = '?query-target-filter={1}{2}'.format(parent_filter, self_child_includes) + filter_string = '?query-target-filter={0}{1}'.format(parent_filter, self_child_includes) # Query for all objects of the module's class matching the provided ID value of the object else: path = 'api/class/{0}.json'.format(obj_class)