Skip to content

Commit

Permalink
Merge pull request #30 from ministryofjustice/fix-for-renaming-aps
Browse files Browse the repository at this point in the history
added .lower so that capitalisation prevents breakages in the script
  • Loading branch information
jamesgreen-moj authored Jun 20, 2024
2 parents 3498037 + 5b03237 commit c528a59
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 @@ -137,7 +137,7 @@ def build_rename_ap_payload(
for site in inventory_payloads:
for mac in site['macs']:
inventory_item = find_inventory_item_by_mac_address(
mist_inventory, mac)
mist_inventory, mac.lower())
csv_item = find_csv_item_by_mac_address(ap_csv, mac)
payload.append(
{
Expand Down

0 comments on commit c528a59

Please sign in to comment.