mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 19:17:52 +00:00
WIFI-1247 - handle change of Map type to HashMap from EnumMap when deserialized
This commit is contained in:
@@ -366,13 +366,14 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra
|
||||
|
||||
// remove radio configs from the DB that are no longer
|
||||
// present in the AP but still exist in DB
|
||||
for (RadioType radio : advancedRadioMap.keySet()) {
|
||||
|
||||
for (RadioType radio : new ArrayList<>(advancedRadioMap.keySet())) {
|
||||
if (!radiosFromAp.contains(radio)) {
|
||||
advancedRadioMap.remove(radio);
|
||||
needToUpdateEquipment = true;
|
||||
}
|
||||
}
|
||||
for (RadioType radio : radioMap.keySet()) {
|
||||
for (RadioType radio : new ArrayList<>(radioMap.keySet())) {
|
||||
if (!radiosFromAp.contains(radio)) {
|
||||
radioMap.remove(radio);
|
||||
needToUpdateEquipment = true;
|
||||
|
||||
Reference in New Issue
Block a user