mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-27 10:23:13 +00:00
fix: plat_cache.json not being read correctly
https://telecominfraproject.atlassian.net/browse/WIFI-14349 Summary of changes: - Resolved an issue where a string field was being read as JSON, causing the output to be incorrectly surrounded by quotation marks. Signed-off-by: Nicolas de Pineda <nicolas.depineda@galgus.ai>
This commit is contained in:
@@ -111,7 +111,7 @@ namespace OpenWifi {
|
||||
i >> cache;
|
||||
|
||||
for (const auto &[Type, Platform] : cache.items()) {
|
||||
Platforms_[Type] = Poco::toLower(to_string(Platform));
|
||||
Platforms_[Type] = Poco::toLower(Platform.get<std::string>());
|
||||
}
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user