From 4df09d3c73177f16fbf90a6d8496f15f807f62ff Mon Sep 17 00:00:00 2001 From: James Green Date: Fri, 11 Oct 2024 13:49:18 +0100 Subject: [PATCH] fixed small bug when searching inventory --- src/juniper_ap_staging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/juniper_ap_staging.py b/src/juniper_ap_staging.py index d809c04..f633e6b 100644 --- a/src/juniper_ap_staging.py +++ b/src/juniper_ap_staging.py @@ -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(