diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-10-16 10:34:48 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-10-16 10:34:48 +0800 |
commit | 7df86a127abc2909e9e30a1ec92f2a239caae476 (patch) | |
tree | cd9de56d71f390d921e12971166c043cd7393021 | |
parent | 2ed7c29cd936d9bca10fe923e19a25a9d0e68ad9 (diff) |
Fix bug for create pnf package
Change-Id: Ic37c6f83df3946b9c344fd3fa442a88d2026e198
Issue-ID: VFC-1151
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | catalog/packages/biz/pnf_descriptor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/packages/biz/pnf_descriptor.py b/catalog/packages/biz/pnf_descriptor.py index 89db9cb9..3910c44d 100644 --- a/catalog/packages/biz/pnf_descriptor.py +++ b/catalog/packages/biz/pnf_descriptor.py @@ -48,7 +48,7 @@ class PnfDescriptor(object): pnfPackageId=data['id'], onboardingState=data['pnfdOnboardingState'], usageState=data['pnfdUsageState'], - userDefinedData=data['userDefinedData'] + userDefinedData=json.dumps(user_defined_data) ) logger.info('A PNFD(%s) has been created.' % data['id']) return data |