State.Chassis: update service name
Both phosphor-state-manager and x86-power-control have code that exposes
both the Chassis and Chassis0 bus names as a backwards compatibility
when multi-chassis support was added. Switch to the numbered bus name,
which is expected to be the non-deprecated one.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0aeefc5d00cfd1fbb1c53f35fc2d2f067d97f11b
diff --git a/src/Utils.hpp b/src/Utils.hpp
index bd33255..9652e63 100644
--- a/src/Utils.hpp
+++ b/src/Utils.hpp
@@ -123,7 +123,7 @@
namespace chassis
{
-const static constexpr char* busname = "xyz.openbmc_project.State.Chassis";
+const static constexpr char* busname = "xyz.openbmc_project.State.Chassis0";
const static constexpr char* interface = "xyz.openbmc_project.State.Chassis";
const static constexpr char* path = "/xyz/openbmc_project/state/chassis0";
const static constexpr char* property = "CurrentPowerState";