summaryrefslogtreecommitdiffstats
path: root/conductor
diff options
context:
space:
mode:
Diffstat (limited to 'conductor')
-rw-r--r--conductor/conductor/data/plugins/inventory_provider/cps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/conductor/conductor/data/plugins/inventory_provider/cps.py b/conductor/conductor/data/plugins/inventory_provider/cps.py
index c92d167..ceb1c90 100644
--- a/conductor/conductor/data/plugins/inventory_provider/cps.py
+++ b/conductor/conductor/data/plugins/inventory_provider/cps.py
@@ -137,9 +137,9 @@ class CPS(object):
def get_cps_response(self, args):
path = self.conf.cps.get_ta_list_url
data = {}
- data['input'] = {'zone_id': args}
+ data['inputParameters'] = {'zone_id': args}
cps_response = self._request('post', path, data=data)
if cps_response is None or cps_response.status_code != 200:
return None
if cps_response:
- return cps_response.json()
+ return cps_response.json().get('coverageAreaTAList')