Refactor action target names Power-on-off
The target change is:
obmc-power-chassis-on -> obmc-chassis-poweron
obmc-power-chassis-off -> obmc-chassis-poweroff
Change-Id: I31af899b1b32de6f7c747264be19f14b43c4c4ee
Signed-off-by: Josh D. King <jdking@us.ibm.com>
diff --git a/chassis_state_manager.cpp b/chassis_state_manager.cpp
index e6513fa..b7b5a9d 100644
--- a/chassis_state_manager.cpp
+++ b/chassis_state_manager.cpp
@@ -14,8 +14,8 @@
using namespace phosphor::logging;
-constexpr auto CHASSIS_STATE_POWEROFF_TGT = "obmc-power-chassis-off@0.target";
-constexpr auto CHASSIS_STATE_POWERON_TGT = "obmc-power-chassis-on@0.target";
+constexpr auto CHASSIS_STATE_POWEROFF_TGT = "obmc-chassis-poweroff@0.target";
+constexpr auto CHASSIS_STATE_POWERON_TGT = "obmc-chassis-poweron@0.target";
/* Map a transition to it's systemd target */
const std::map<server::Chassis::Transition,std::string> SYSTEMD_TARGET_TABLE =