Skip to content

Commit

Permalink
fix: replaced incorrect case conversion for device type
Browse files Browse the repository at this point in the history
https://telecominfraproject.atlassian.net/browse/OLS-56

Summary of changes:
- Replaced incorrect case conversion for device type.

Signed-off-by: Ivan Chvets <[email protected]>
  • Loading branch information
i-chvets committed May 30, 2024
1 parent a04c533 commit 23b33fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/ConfigurationValidator.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace OpenWifi {
void reinitialize(Poco::Util::Application &self) override;

inline static ConfigurationType GetType(const std::string &type) {
std::string Type = Poco::toUpper(type);
std::string Type = Poco::toLower(type);
if (Type == Platforms::AP)
return ConfigurationType::AP;
if (Type == Platforms::SWITCH)
Expand Down

0 comments on commit 23b33fa

Please sign in to comment.