diff options
author | Ed Tanous <ed@tanous.net> | 2020-09-29 00:29:23 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-09-29 21:38:42 +0300 |
commit | 2c70f8004afdc27bd42968b8bf7480f2e534974c (patch) | |
tree | 569f4cb0110aae2ccd0e4d197efe4c3a36c5b7b6 /redfish-core/lib/systems.hpp | |
parent | 3e4c7797033926a0502cdd4491421c8b16684aef (diff) | |
download | bmcweb-2c70f8004afdc27bd42968b8bf7480f2e534974c.tar.xz |
Fix naming conventions
Lots of code has been checked in that doesn't match the naming
conventions. Lets fix that.
Tested:
Code compiles. Variable/function renames only.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I6bd107811d0b724f1fad990016113cdf035b604b
Diffstat (limited to 'redfish-core/lib/systems.hpp')
-rw-r--r-- | redfish-core/lib/systems.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index 9220279ac7..df83f2b92e 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -1694,19 +1694,19 @@ class SystemsCollection : public Node crow::connections::systemBus->async_method_call( [asyncResp](const boost::system::error_code ec, const std::variant<std::string>& /*hostName*/) { - nlohmann::json& iface_array = + nlohmann::json& ifaceArray = asyncResp->res.jsonValue["Members"]; - iface_array = nlohmann::json::array(); + ifaceArray = nlohmann::json::array(); auto& count = asyncResp->res.jsonValue["Members@odata.count"]; count = 0; - iface_array.push_back( + ifaceArray.push_back( {{"@odata.id", "/redfish/v1/Systems/system"}}); if (!ec) { BMCWEB_LOG_DEBUG << "Hypervisor is available"; - iface_array.push_back( + ifaceArray.push_back( {{"@odata.id", "/redfish/v1/Systems/hypervisor"}}); - count = iface_array.size(); + count = ifaceArray.size(); return; } }, |