diff options
author | 2018-03-22 15:27:08 +0800 | |
---|---|---|
committer | 2018-03-22 15:27:08 +0800 | |
commit | 349f31ca23fb6809d99020da301d3582e9438f83 (patch) | |
tree | 2a9456b8f11f945e4f54e5f41648ba5a9ba5df62 | |
parent | e12434fe867b9e53555525c2548ee0200886a6df (diff) |
Refactor the method name
Change-Id: I1848281dd00d799133a8e691d9d0138982eec493
Issue-ID: VFC-784
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
-rw-r--r-- | lcm/ns/ns_manual_scale.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/ns/ns_manual_scale.py b/lcm/ns/ns_manual_scale.py index 8ecde776..71897aee 100644 --- a/lcm/ns/ns_manual_scale.py +++ b/lcm/ns/ns_manual_scale.py @@ -55,11 +55,11 @@ class NSManualScaleService(threading.Thread): def do_biz(self): self.update_job(1, desc='ns scale start') self.update_ns_status(NS_INST_STATUS.SCALING) - self.get_and_check_params() + self.check_and_set_params() self.do_vnfs_scale() self.update_job(100, desc='ns scale success') - def get_and_check_params(self): + def check_and_set_params(self): self.scale_type = ignore_case_get(self.request_data, 'scaleType') if not self.scale_type or self.scale_type != SCALE_TYPE[0]: logger.error( |