summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-11-07 10:21:02 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-11-07 10:21:02 +0800
commit0c81cc143a783a421d662ec7e4b305aff901308d (patch)
treeaf031f10c27011b7aed3fdd0dea285169dead550
parentb0d27ae27e3cbd210fd181cbefe1fb430a6a6d22 (diff)
Fix vfc-nslcm customer query bug
Change-Id: I1137220cd041d1b90cbdb79967b01172642e8309 Issue-ID: VFC-558 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--lcm/pub/msapi/aai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/pub/msapi/aai.py b/lcm/pub/msapi/aai.py
index 73f124b8..7c814487 100644
--- a/lcm/pub/msapi/aai.py
+++ b/lcm/pub/msapi/aai.py
@@ -56,7 +56,7 @@ def query_customer_aai(global_customer_id):
if ret[0] != 0:
logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
raise NSLCMException("Get customer info exception in AAI")
- return json.JSONDecoder().decode(ret[1]) if ret[1] else ret[1], ret[2]
+ return json.JSONDecoder().decode(ret[1]) if ret[1] else ret[1]
def delete_customer_aai(global_customer_id, resource_version=""):