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/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp
index e789bda..c318cc6 100644
--- a/include/ibm/management_console_rest.hpp
+++ b/include/ibm/management_console_rest.hpp
@@ -144,7 +144,7 @@
res.jsonValue["Description"] = "File Updated";
redfish::EventServiceManager::getInstance().sendEvent(
- redfish::messages::ResourceChanged(), origin, "IBMConfigFile");
+ redfish::messages::resourceChanged(), origin, "IBMConfigFile");
}
else
{
@@ -152,7 +152,7 @@
res.jsonValue["Description"] = "File Created";
redfish::EventServiceManager::getInstance().sendEvent(
- redfish::messages::ResourceCreated(), origin, "IBMConfigFile");
+ redfish::messages::resourceCreated(), origin, "IBMConfigFile");
}
}
}
@@ -255,8 +255,8 @@
std::string filePath("/var/lib/obmc/bmc-console-mgmt/save-area/" + fileID);
BMCWEB_LOG_DEBUG << "Removing the file : " << filePath << "\n";
- std::ifstream file_open(filePath.c_str());
- if (static_cast<bool>(file_open))
+ std::ifstream fileOpen(filePath.c_str());
+ if (static_cast<bool>(fileOpen))
if (remove(filePath.c_str()) == 0)
{
BMCWEB_LOG_DEBUG << "File removed!\n";