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
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 5c16cad..0e93f5c 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -880,7 +880,7 @@
std::array<std::string, 1>{dumpInterface});
}
-static void ParseCrashdumpParameters(
+static void parseCrashdumpParameters(
const std::vector<std::pair<std::string, VariantType>>& params,
std::string& filename, std::string& timestamp, std::string& logfile)
{
@@ -2466,7 +2466,7 @@
std::string timestamp{};
std::string filename{};
std::string logfile{};
- ParseCrashdumpParameters(params, filename, timestamp, logfile);
+ parseCrashdumpParameters(params, filename, timestamp, logfile);
if (filename.empty() || timestamp.empty())
{
@@ -2662,7 +2662,7 @@
std::string dbusTimestamp{};
std::string dbusFilepath{};
- ParseCrashdumpParameters(resp, dbusFilename, dbusTimestamp,
+ parseCrashdumpParameters(resp, dbusFilename, dbusTimestamp,
dbusFilepath);
if (dbusFilename.empty() || dbusTimestamp.empty() ||
@@ -2965,7 +2965,7 @@
auto asyncResp = std::make_shared<AsyncResp>(res);
// Process response from Logging service.
- auto resp_handler = [asyncResp](const boost::system::error_code ec) {
+ auto respHandler = [asyncResp](const boost::system::error_code ec) {
BMCWEB_LOG_DEBUG << "doClearLog resp_handler callback: Done";
if (ec)
{
@@ -2981,7 +2981,7 @@
// Make call to Logging service to request Clear Log
crow::connections::systemBus->async_method_call(
- resp_handler, "xyz.openbmc_project.Logging",
+ respHandler, "xyz.openbmc_project.Logging",
"/xyz/openbmc_project/logging",
"xyz.openbmc_project.Collection.DeleteAll", "DeleteAll");
}