diff options
author | George Liu <liuxiwei@inspur.com> | 2022-10-08 04:27:47 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-11-02 01:59:56 +0300 |
commit | 59a17e4f40c78c6ee04f68a369fb9c041f64122d (patch) | |
tree | 391e97f64b09ddf49ffa641e0766b8ece56a1378 /redfish-core | |
parent | 27b0cf90f6cba207837f5c263a45c6ea5651975b (diff) | |
download | bmcweb-59a17e4f40c78c6ee04f68a369fb9c041f64122d.tar.xz |
Rename getLocationIndicatorActive/setLocationIndicatorActive
This commit renames
getLocationIndicatorActive/setLocationIndicatorActive
No functional changes.
Tested: built bmcweb successfully and Validator passes
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I0c5d538c1dd9f0d8dd1e6ae4d8ba4f606b804373
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/chassis.hpp | 6 | ||||
-rw-r--r-- | redfish-core/lib/led.hpp | 8 | ||||
-rw-r--r-- | redfish-core/lib/systems.hpp | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/redfish-core/lib/chassis.hpp b/redfish-core/lib/chassis.hpp index 469c903bce..594449c809 100644 --- a/redfish-core/lib/chassis.hpp +++ b/redfish-core/lib/chassis.hpp @@ -520,7 +520,7 @@ inline void interfaces2.end()) { getIndicatorLedState(asyncResp); - getLocationIndicatorActive(asyncResp); + getSystemLocationIndicatorActive(asyncResp); break; } } @@ -741,8 +741,8 @@ inline void { if (indicatorChassis) { - setLocationIndicatorActive(asyncResp, - *locationIndicatorActive); + setSystemLocationIndicatorActive(asyncResp, + *locationIndicatorActive); } else { diff --git a/redfish-core/lib/led.hpp b/redfish-core/lib/led.hpp index ff77ddc180..b5d12fb865 100644 --- a/redfish-core/lib/led.hpp +++ b/redfish-core/lib/led.hpp @@ -156,13 +156,13 @@ inline void } /** - * @brief Retrieves identify led group properties over dbus + * @brief Retrieves identify system led group properties over dbus * * @param[in] asyncResp Shared pointer for generating response message. * * @return None. */ -inline void getLocationIndicatorActive( +inline void getSystemLocationIndicatorActive( const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { BMCWEB_LOG_DEBUG("Get LocationIndicatorActive"); @@ -214,14 +214,14 @@ inline void getLocationIndicatorActive( } /** - * @brief Sets identify led group properties + * @brief Sets identify system led group properties * * @param[in] asyncResp Shared pointer for generating response message. * @param[in] ledState LED state passed from request * * @return None. */ -inline void setLocationIndicatorActive( +inline void setSystemLocationIndicatorActive( const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const bool ledState) { BMCWEB_LOG_DEBUG("Set LocationIndicatorActive"); diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index 399989848b..e044c670d2 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -3331,7 +3331,7 @@ inline void aRsp->res.jsonValue["Links"]["Chassis"] = std::move(chassisArray); }); - getLocationIndicatorActive(asyncResp); + getSystemLocationIndicatorActive(asyncResp); // TODO (Gunnar): Remove IndicatorLED after enough time has passed getIndicatorLedState(asyncResp); getComputerSystem(asyncResp, health); @@ -3466,7 +3466,7 @@ inline void handleComputerSystemPatch( if (locationIndicatorActive) { - setLocationIndicatorActive(asyncResp, *locationIndicatorActive); + setSystemLocationIndicatorActive(asyncResp, *locationIndicatorActive); } // TODO (Gunnar): Remove IndicatorLED after enough time has |