Skip to content

Commit

Permalink
Merge pull request #39 from ministryofjustice/small-bug
Browse files Browse the repository at this point in the history
fixed small bug when searching inventory
  • Loading branch information
sb21460 authored Oct 11, 2024
2 parents 9dc876d + 4df09d3 commit f60252f
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 f60252f

Please sign in to comment.