Skip to content
Commit bb00602b authored by ksaikiranr's avatar ksaikiranr Committed by guzman
Browse files

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: default avatarK Sai Kiran <saikiran.k@tataelxsi.co.in>
parent 3c417b3e
Loading
Loading
Loading
Pipeline #2417 passed with warnings with stage
in 6 minutes and 5 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment