Skip to content

Commit

Permalink
added default value to dict pop method
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkateshRavula committed May 3, 2021
1 parent d629741 commit d384b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/oneview_logical_interconnect_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d384b96

Please sign in to comment.