From d384b96573703c5a8092ae8022a84abdb55204c3 Mon Sep 17 00:00:00 2001 From: VenkateshRavula Date: Mon, 3 May 2021 19:20:48 +0530 Subject: [PATCH] added default value to dict pop method --- library/oneview_logical_interconnect_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/oneview_logical_interconnect_group.py b/library/oneview_logical_interconnect_group.py index a4278814..8a9ac9b9 100644 --- a/library/oneview_logical_interconnect_group.py +++ b/library/oneview_logical_interconnect_group.py @@ -222,7 +222,7 @@ def __update(self): map_entry_templates = map_template.get('interconnectMapEntryTemplates') if map_entry_templates: for value in map_entry_templates: - value.pop('logicalDownlinkUri') + value.pop('logicalDownlinkUri', None) merged_data = LIGMerger().merge_data(current_data, self.data)