diff options
author | 2018-03-02 17:37:01 +0800 | |
---|---|---|
committer | 2018-03-02 17:37:06 +0800 | |
commit | f736ce533c5cc6067af601bf8cde596a909c3e9f (patch) | |
tree | 66da3b4b4fd03fd0ebfbc8eb9590864f63dba352 | |
parent | 40187be68d73b231a16edf476881c5eef05da211 (diff) |
Modify code to fix a sonar bug
Change-Id: Id3fb2c416320193dd16300e5ecc60b3399f94404
Issue-ID: VFC-784
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
-rw-r--r-- | lcm/pub/utils/scaleaspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/pub/utils/scaleaspect.py b/lcm/pub/utils/scaleaspect.py index 0b6919e1..13649f44 100644 --- a/lcm/pub/utils/scaleaspect.py +++ b/lcm/pub/utils/scaleaspect.py @@ -111,7 +111,7 @@ def del_vnf_scale_info(vnf_scale_info_list): index = 0 while index < vnf_instance_id_list.__len__(): copy_vnf_scale_info["vnfInstanceId"] = vnf_instance_id_list[index] - ++index + index += 1 result.append(copy_vnf_scale_info) return result |