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/ADCSensor.cpp b/src/ADCSensor.cpp
index ec3efdb..4aa8cc1 100644
--- a/src/ADCSensor.cpp
+++ b/src/ADCSensor.cpp
@@ -70,8 +70,7 @@
"xyz.openbmc_project.Sensor.Threshold.Critical");
}
association = objectServer.add_interface(
- "/xyz/openbmc_project/sensors/voltage/" + name,
- "org.openbmc.Associations");
+ "/xyz/openbmc_project/sensors/voltage/" + name, association::interface);
setInitialProperties(conn);
setupRead();