summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorhongyuzhao <zhao.hongyu@zte.com.cn>2019-08-12 11:13:52 +0800
committerhongyuzhao <zhao.hongyu@zte.com.cn>2019-08-12 11:27:03 +0800
commit1b0cfdd432919f8eac484d67508291f3143008ef (patch)
treebc7b0725d67ba9feadf8fe62c3c8cebe15e939b6 /lcm
parent8ccc938635ceb5079c63a5cb20cf804a9954a8b4 (diff)
fix bug for failure in creating subscriptions for vnfm
Change-Id: Ia08e46bbbe5091c269194d02ba3209a6ce6e6899 Issue-ID: VFC-1484 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/nf/biz/create_subscription.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/nf/biz/create_subscription.py b/lcm/lcm/nf/biz/create_subscription.py
index fe062729..2b1f6064 100644
--- a/lcm/lcm/nf/biz/create_subscription.py
+++ b/lcm/lcm/nf/biz/create_subscription.py
@@ -134,7 +134,7 @@ class CreateSubscription:
}
SubscriptionModel.objects.create(subscription_id=self.subscription_id,
callback_uri=self.callback_uri,
- auth_info=self.authentication,
+ auth_info=json.dumps(self.authentication),
notification_types=json.dumps(self.notification_types),
operation_types=json.dumps(self.operation_types),
operation_states=json.dumps(self.operation_states),