summaryrefslogtreecommitdiffstats
path: root/fan_enclosure.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'fan_enclosure.hpp')
-rw-r--r--fan_enclosure.hpp5
1 files changed, 3 insertions, 2 deletions
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 @@ class FanEnclosure
fanDesc(std::get<1>(fanProp))
{
//Add this fan to inventory
- addInventory();
+ updInventory();
}
void updInventory();
@@ -53,7 +53,8 @@ class FanEnclosure
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();
};
OpenPOWER on IntegriCloud