From 2c70f8004afdc27bd42968b8bf7480f2e534974c Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 28 Sep 2020 14:29:23 -0700 Subject: 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 Change-Id: I6bd107811d0b724f1fad990016113cdf035b604b --- redfish-core/lib/systems.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'redfish-core/lib/systems.hpp') 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& /*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; } }, -- cgit v1.2.3