aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfengyuanxing <feng.yuanxing@zte.com.cn>2018-03-05 14:21:11 +0800
committerfengyuanxing <feng.yuanxing@zte.com.cn>2018-03-05 14:21:11 +0800
commit1afc2ec5f4977842e4e1bbbfdfe4cb3650d61bc7 (patch)
treedec89a2ea72692182950e13135da55c694e9bd4b
parent8604bff377a5532d718e608f440cc0bd4ef7551e (diff)
Modify code to fix a bug
Change-Id: I72ab7804cdeb067823a260f0fbe03083276871f2 Issue-ID: VFC-784 Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
-rw-r--r--lcm/pub/msapi/catalog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/pub/msapi/catalog.py b/lcm/pub/msapi/catalog.py
index 7efd63df..0c5899b0 100644
--- a/lcm/pub/msapi/catalog.py
+++ b/lcm/pub/msapi/catalog.py
@@ -107,7 +107,7 @@ def get_servicetemplate(nsd_id):
return NSLCMException('servicetemplate(%s) does not exist.' % nsd_id)
-# Gets scaling map json according to nsd id.
+# Gets scaling map json from ns package according to nsd id.
def get_scalingmap_json_package(ns_InstanceId):
csar_id = NSInstModel.objects.filter(id=ns_InstanceId)[0]["nspackage_id"]
downloadUrl = query_csar_from_catalog(csar_id, "packageInfo")["downloadUrl"]