Revert "PSUSensor: Fix for PSU details"
This reverts commit 9f9b38d89a751e70cdf61bfb3f78c05800201f95.
Reason for revert: Association was correct, fix needs to happen
in bmcweb to distinguish power types vs other types
Change-Id: If14ae1d47f218f5d0e39f482ee6052cfec80b883
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/PSUSensor.cpp b/src/PSUSensor.cpp
index 0b71e92..fc24704 100644
--- a/src/PSUSensor.cpp
+++ b/src/PSUSensor.cpp
@@ -73,9 +73,9 @@
thresholdInterfaceCritical = objectServer.add_interface(
dbusPath, "xyz.openbmc_project.Sensor.Threshold.Critical");
}
+ association = objectServer.add_interface(dbusPath, association::interface);
setInitialProperties(conn);
- association = objectServer.add_interface(dbusPath, association::interface);
createInventoryAssoc(conn, association, configurationPath);
setupRead();