From 36e477dc4a09f2fadc9c6d087da66ca7866e327e Mon Sep 17 00:00:00 2001 From: Chamarty Date: Wed, 15 Mar 2017 17:20:39 -0400 Subject: [PATCH] Fix metadata initialization Change-Id: Icf5279e716433994308de3044422fd9a8c2bcd3d Signed-off-by: Chamarty --- .../vala/rwcal_openstack/rift/rwcal/openstack/utils/compute.py | 1 - 1 file changed, 1 deletion(-) 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 -- 2.25.1