Repair bugs of gvnfm vnflcm
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 29 Mar 2017 03:33:37 +0000 (11:33 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Wed, 29 Mar 2017 03:33:37 +0000 (11:33 +0800)
Change-Id: Ifc964b0ef2e076f17d16aa2d951d8efa4a488e57
Issue-Id: GVNFM-47
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
lcm/lcm/pub/msapi/gvnfmdriver.py

index 362045a..954e1b8 100644 (file)
@@ -41,4 +41,4 @@ def notify_lcm_to_nfvo(data):
     if ret[0] != 0:
         logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
         raise NFLCMException("Nf lcm notify exception")
-    return json.JSONDecoder().decode(ret[1])
+    return ret[1]