summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catalog/packages/biz/ns_descriptor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/packages/biz/ns_descriptor.py b/catalog/packages/biz/ns_descriptor.py
index a58235f6..f625da6d 100644
--- a/catalog/packages/biz/ns_descriptor.py
+++ b/catalog/packages/biz/ns_descriptor.py
@@ -53,7 +53,7 @@ class NsDescriptor(object):
onboardingState=data['nsdOnboardingState'],
operationalState=data['nsdOperationalState'],
usageState=data['nsdUsageState'],
- userDefinedData=data['userDefinedData']
+ userDefinedData=json.dumps(user_defined_data)
)
logger.info('A NSD(%s) has been created.' % data['id'])
return data