Change-Id: I1137220cd041d1b90cbdb79967b01172642e8309
Issue-ID: VFC-558
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
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=""):