summaryrefslogtreecommitdiff
path: root/redfish-core/lib/account_service.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2020-09-29 00:29:23 +0300
committerEd Tanous <ed@tanous.net>2020-09-29 21:38:42 +0300
commit2c70f8004afdc27bd42968b8bf7480f2e534974c (patch)
tree569f4cb0110aae2ccd0e4d197efe4c3a36c5b7b6 /redfish-core/lib/account_service.hpp
parent3e4c7797033926a0502cdd4491421c8b16684aef (diff)
downloadbmcweb-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/account_service.hpp')
-rw-r--r--redfish-core/lib/account_service.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index fae181ce89..dd63913ef2 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -29,7 +29,7 @@ namespace redfish
constexpr const char* ldapConfigObjectName =
"/xyz/openbmc_project/user/ldap/openldap";
-constexpr const char* ADConfigObject =
+constexpr const char* adConfigObject =
"/xyz/openbmc_project/user/ldap/active_directory";
constexpr const char* ldapRootObject = "/xyz/openbmc_project/user/ldap";
@@ -340,7 +340,7 @@ inline void handleRoleMapPatch(
std::string dbusObjectPath;
if (serverType == "ActiveDirectory")
{
- dbusObjectPath = ADConfigObject;
+ dbusObjectPath = adConfigObject;
}
else if (serverType == "LDAP")
{
@@ -970,7 +970,7 @@ class AccountService : public Node
std::string dbusObjectPath;
if (serverType == "ActiveDirectory")
{
- dbusObjectPath = ADConfigObject;
+ dbusObjectPath = adConfigObject;
}
else if (serverType == "LDAP")
{