diff options
author | maopengzhang <zhang.maopeng1@zte.com.cn> | 2018-11-21 10:30:47 +0800 |
---|---|---|
committer | maopengzhang <zhang.maopeng1@zte.com.cn> | 2018-11-21 10:30:47 +0800 |
commit | af6a879fe24fdc83f3d72020d3a8ffb5c38f62cb (patch) | |
tree | 9e2b886c4d7959c921ea000c04731071a917e141 | |
parent | 8dfaa7ba8b5e60a366b22b730a7f47529aefbbac (diff) |
fix parameter name error
fix parameter name error: vnf_id to vnf_pkg_id
Change-Id: Ifddabf8d13a718786596be0e9821a45cac61c5d5
Issue-ID: VFC-1185
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r-- | catalog/packages/biz/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog/packages/biz/common.py b/catalog/packages/biz/common.py index f2b37795..c4205fb6 100644 --- a/catalog/packages/biz/common.py +++ b/catalog/packages/biz/common.py @@ -20,9 +20,9 @@ from catalog.pub.utils import fileutil CHUNK_SIZE = 1024 * 8 -def save(remote_file, descriptor_id): +def save(remote_file, vnf_pkg_id): local_file_name = remote_file.name - local_file_dir = os.path.join(CATALOG_ROOT_PATH, descriptor_id) + local_file_dir = os.path.join(CATALOG_ROOT_PATH, vnf_pkg_id) local_file_name = os.path.join(local_file_dir, local_file_name) if not os.path.exists(local_file_dir): fileutil.make_dirs(local_file_dir) |