Skip to content

Commit

Permalink
fixed small bug when searching inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgreen-moj committed Oct 11, 2024
1 parent 9dc876d commit 4df09d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/juniper_ap_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def validate_if_ap_defined_on_csv_exists_in_mist(mist_inventory: list['dict'],
ap_mac_addresses_from_csv.append(cleaned_mac_address)

for ap_mac_address in ap_mac_addresses_from_csv:
if ap_mac_address in ap_mac_addresses_from_mist:
if ap_mac_address.upper() in ap_mac_addresses_from_mist:
continue
else:
raise ValueError(
Expand Down

0 comments on commit 4df09d3

Please sign in to comment.