Resolved data validation failure when NSLCM receives notifications 60/94660/1
authoryangyan <yangyanyj@chinamobile.com>
Fri, 30 Aug 2019 07:19:12 +0000 (15:19 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Fri, 30 Aug 2019 07:19:19 +0000 (15:19 +0800)
Change-Id: Ia642dc758b2eac001a8f41e2ee416e6d708b6c10
Issue-ID: VFC-1506
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
lcm/lcm/pub/utils/notificationsutil.py

index 936cc5b..fd4efa3 100644 (file)
@@ -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)