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/HwmonTempSensor.cpp b/src/HwmonTempSensor.cpp
index 16742ce..52ad8fe 100644
--- a/src/HwmonTempSensor.cpp
+++ b/src/HwmonTempSensor.cpp
@@ -64,7 +64,7 @@
}
association = objectServer.add_interface(
"/xyz/openbmc_project/sensors/temperature/" + name,
- "org.openbmc.Associations");
+ association::interface);
setInitialProperties(conn);
setupRead();
}