From: K Sai Kiran Date: Thu, 20 May 2021 05:39:49 +0000 (+0530) Subject: Bug 1538 Fixed X-Git-Tag: release-v11.0-start~3 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=bb00602bac72bd5744e1e3ddc8e15068cb27c024;hp=bb00602bac72bd5744e1e3ddc8e15068cb27c024 Bug 1538 Fixed In case if df is not available in an NSD then nsd.get("df", [[]])[0].get("vnf-profile", ()) raises an exception. Since [[]][0] returns a list and list does not have a get() function. Fix is to change [[]] to [{}] such that when [{}][0] is executed we get a dict instead of list. Change-Id: I7e7ce62a44720dcc368ce7a4fa3d0bc1d7beb43b Signed-off-by: K Sai Kiran ---