Get inventory manager service name
Retrieve the inventory manager's service name from object mapper.
Change-Id: I56c67012105b5bc389763608c998ccc756b1104a
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/fan_enclosure.hpp b/fan_enclosure.hpp
index 3876cea..cd9f689 100644
--- a/fan_enclosure.hpp
+++ b/fan_enclosure.hpp
@@ -40,7 +40,7 @@
fanDesc(std::get<1>(fanProp))
{
//Add this fan to inventory
- addInventory();
+ updInventory();
}
void updInventory();
@@ -53,7 +53,8 @@
const std::string fanDesc;
std::vector<std::unique_ptr<Sensor>> sensors;
- void addInventory();
+ //TODO openbmc/openbmc#1299 - Move getInvService() to a utility file
+ std::string getInvService();
ObjectMap getObjectMap();
};