summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/pub/msapi/aai.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/lcm/pub/msapi/aai.py')
-rw-r--r--lcm/lcm/pub/msapi/aai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/msapi/aai.py b/lcm/lcm/pub/msapi/aai.py
index a7fc8f00..945eacda 100644
--- a/lcm/lcm/pub/msapi/aai.py
+++ b/lcm/lcm/pub/msapi/aai.py
@@ -87,7 +87,7 @@ def delete_vnf_aai(vnf_id, resource_version=""):
if ret[0] != 0:
logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
raise NFLCMException("Vnf instance delete exception in AAI")
- return json.JSONDecoder().decode(ret[1])
+ return json.JSONDecoder().decode(ret[1]), ret[2]
def query_vnf_aai(vnf_id):
resource = "/network/generic-vnfs/generic-vnf/%s?depth=all" % vnf_id