From: tierno Date: Wed, 25 Nov 2020 12:35:53 +0000 (+0000) Subject: minor fix at flavor, images X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fsol006;p=osm%2FNBI.git minor fix at flavor, images Change-Id: I5097bf1d6facb5f3080a20c32ede200d0bf3d20c Signed-off-by: tierno --- 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)