| commit | bb00602bac72bd5744e1e3ddc8e15068cb27c024 | [log] [tgz] |
|---|---|---|
| author | K Sai Kiran <saikiran.k@tataelxsi.co.in> | Thu May 20 11:09:49 2021 +0530 |
| committer | guzman <jmguzman@whitestack.com> | Tue Aug 24 17:30:26 2021 +0200 |
| tree | f04a416b383fbdd208e2c32b1fd0ead9e8c1455f | |
| parent | 3c417b3eeb49631253a5a391c523f67ce490d8c9 [diff] |
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 <saikiran.k@tataelxsi.co.in>