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/CPUSensor.cpp b/src/CPUSensor.cpp
index 7654fde..1b04299 100644
--- a/src/CPUSensor.cpp
+++ b/src/CPUSensor.cpp
@@ -63,7 +63,7 @@
}
association = objectServer.add_interface(
"/xyz/openbmc_project/sensors/temperature/" + name,
- "org.openbmc.Associations");
+ association::interface);
setInitialProperties(conn);
}