From 2f25bee0bc2495d551cb6530fe8a86e791711997 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Thu, 31 Aug 2023 15:57:08 -0400 Subject: [PATCH] Review comments --- plugins/modules/dcnm_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/dcnm_interface.py b/plugins/modules/dcnm_interface.py index 881281558..88bdca107 100644 --- a/plugins/modules/dcnm_interface.py +++ b/plugins/modules/dcnm_interface.py @@ -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"