From 0c81cc143a783a421d662ec7e4b305aff901308d Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Tue, 7 Nov 2017 10:21:02 +0800 Subject: Fix vfc-nslcm customer query bug Change-Id: I1137220cd041d1b90cbdb79967b01172642e8309 Issue-ID: VFC-558 Signed-off-by: ying.yunlong --- lcm/pub/msapi/aai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=""): -- cgit 1.2.3-korg