Skip to content

Commit 321b6da

Browse files
authored
Update dcnm_inventory.py (#468)
1 parent a7b76c6 commit 321b6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/dcnm_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def have_in_want(have_c):
872872
if have_c["switches"][0]["ipaddr"] == want_c["switches"][0]["ipaddr"]:
873873
match = re.search(r"\S+\((\S+)\)", have_c["switches"][0]["deviceIndex"])
874874
if match is None:
875-
return match_found
875+
continue
876876
want_serial_num = match.groups()[0]
877877
if have_c["switches"][0]["serialNumber"] == want_serial_num:
878878
if (

0 commit comments

Comments
 (0)