summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-08-30 15:19:12 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-08-30 15:19:19 +0800
commit121fd98523ca75fc7856ae179cd72b26bd0b3778 (patch)
treea69ffabf5b3ac9d355961537a769f5ae2297171b /lcm
parentcc4fa321dc9addf090ac889ad8c9a8297f84be6a (diff)
Resolved data validation failure when NSLCM receives notifications
Change-Id: Ia642dc758b2eac001a8f41e2ee416e6d708b6c10 Issue-ID: VFC-1506 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/pub/utils/notificationsutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/utils/notificationsutil.py b/lcm/lcm/pub/utils/notificationsutil.py
index 936cc5be..fd4efa36 100644
--- a/lcm/lcm/pub/utils/notificationsutil.py
+++ b/lcm/lcm/pub/utils/notificationsutil.py
@@ -246,7 +246,7 @@ def prepare_notification(nfinstid, jobid, operation, operation_state):
'affectedVirtualLinks': [],
'affectedVirtualStorages': [],
'changedExtConnectivity': [],
- 'error': '',
+ 'error': {},
'_links': {
'vnfInstance': {
'href': '%s/vnf_instances/%s' % (const.URL_PREFIX, nfinstid)