Fix Association interface
Mapper changed to only allow the new interface, update
to it.
Tested: Mapper showed all associations
Change-Id: I8b252c70e9f27b083a438393c731fbeb3e2ca0e5
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/ExitAirTempSensor.cpp b/src/ExitAirTempSensor.cpp
index 972b42b..ca1cc9e 100644
--- a/src/ExitAirTempSensor.cpp
+++ b/src/ExitAirTempSensor.cpp
@@ -175,7 +175,7 @@
}
association = objectServer.add_interface(
- "/xyz/openbmc_project/sensors/cfm/" + name, "org.openbmc.Associations");
+ "/xyz/openbmc_project/sensors/cfm/" + name, association::interface);
setInitialProperties(conn);
setupSensorMatch(
@@ -493,7 +493,7 @@
}
association = objectServer.add_interface(
"/xyz/openbmc_project/sensors/temperature/" + name,
- "org.openbmc.Associations");
+ association::interface);
setInitialProperties(conn);
setupMatches();
setupPowerMatch(conn);