Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewiebe committed Aug 31, 2023
1 parent b3e53ae commit 2f25bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/dcnm_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3432,7 +3432,7 @@ def dcnm_intf_compare_elements(
if (state == "replaced") or (state == "overridden"):
# Special handling is required for mode 'mpls' loopback interfaces.
# They will contain either of the following two read_only properties.
if k == 'DCI_ROUTING_PROTO' or k == 'DCI_ROUTING_TAG':
if k in ['DCI_ROUTING_PROTO', 'DCI_ROUTING_TAG']:
return "copy_and_add"

return "add"
Expand Down

0 comments on commit 2f25bee

Please sign in to comment.