Change the key [name] to [Name] in members property
All the other keys start with Uppercase. Changing this to make it
consistent.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ic30f9c35ba2c3626e4f565ec166dcc810145eff2
diff --git a/json-config.hpp b/json-config.hpp
index 3d1caec..d47bfd5 100644
--- a/json-config.hpp
+++ b/json-config.hpp
@@ -83,7 +83,7 @@
LedAction ledActions{};
for (const auto& member : members)
{
- auto name = member.value("name", "");
+ auto name = member.value("Name", "");
auto action = getAction(member.value("Action", ""));
uint8_t dutyOn = member.value("DutyOn", 50);
uint16_t period = member.value("Period", 0);