From: Chamarty Date: Wed, 15 Mar 2017 21:20:39 +0000 (-0400) Subject: Fix metadata initialization X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F1309%2F1;p=osm%2FSO.git Fix metadata initialization Change-Id: Icf5279e716433994308de3044422fd9a8c2bcd3d Signed-off-by: Chamarty --- diff --git a/rwcal/plugins/vala/rwcal_openstack/rift/rwcal/openstack/utils/compute.py b/rwcal/plugins/vala/rwcal_openstack/rift/rwcal/openstack/utils/compute.py index fa0bfaf2..be7a969f 100644 --- a/rwcal/plugins/vala/rwcal_openstack/rift/rwcal/openstack/utils/compute.py +++ b/rwcal/plugins/vala/rwcal_openstack/rift/rwcal/openstack/utils/compute.py @@ -330,7 +330,6 @@ class ComputeUtils(object): try: # Rift model only if vdu_params.supplemental_boot_data.has_field('custom_meta_data'): - metadata = dict() for cm in vdu_params.supplemental_boot_data.custom_meta_data: metadata[cm.name] = cm.value kwargs['metadata'] = metadata