From e2f188cc27bf30fc4ee7b43a8d5c16a4ed0d8bdc Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 25 Nov 2020 12:35:53 +0000 Subject: [PATCH] minor fix at flavor, images Change-Id: I5097bf1d6facb5f3080a20c32ede200d0bf3d20c Signed-off-by: tierno --- osm_nbi/instance_topics.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index 85e2c44..2613430 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -417,7 +417,6 @@ class NsrTopic(BaseTopic): if guest_epa: flavor_data["guest-epa"] = guest_epa - flavor_data["vim_info"] = [] flavor_data["name"] = vdu["id"][:56] + "-flv" flavor_data["id"] = str(len(nsr_descriptor["flavor"])) nsr_descriptor["flavor"].append(flavor_data) @@ -434,7 +433,6 @@ class NsrTopic(BaseTopic): img = next((f for f in nsr_descriptor["image"] if all(f.get(k) == image_data[k] for k in image_data)), None) if not img: - image_data["vim_info"] = [] image_data["id"] = str(len(nsr_descriptor["image"])) nsr_descriptor["image"].append(image_data) -- 2.25.1