Skip to content

Commit cf2f8c1

Browse files
committed
Remove unmanagable check
1 parent dd6179c commit cf2f8c1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plugins/modules/dcnm_interface.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5023,13 +5023,6 @@ def dcnm_intf_update_inventory_data(self):
50235023
)
50245024
)
50255025

5026-
if ronly_sw_list:
5027-
self.module.fail_json(
5028-
msg="Error: Switches {0} are not managable in Fabric '{1}', No changes are allowed on these switches\n".format(
5029-
ronly_sw_list, self.fabric
5030-
)
5031-
)
5032-
50335026
# Based on the updated inventory_data, update ip_sn, hn_sn and sn_hn objects
50345027
self.ip_sn, self.hn_sn = get_ip_sn_dict(self.inventory_data)
50355028

0 commit comments

Comments
 (0)