fansensor: Add inventory object manager

The fansensor creates fan present objects under
/xyz/openbmc_project/inventory/, add object manager for this path,
otherwise the DBus objects are not created.

Tested: Verify the fan present objects are created in
        /xyz/openbmc_project/inventory/

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I1817c5f1de437f0be194dd0bd1d168b1d37f3b70
diff --git a/src/FanMain.cpp b/src/FanMain.cpp
index 765a9d0..7260131 100644
--- a/src/FanMain.cpp
+++ b/src/FanMain.cpp
@@ -546,6 +546,7 @@
 
     objectServer.add_manager("/xyz/openbmc_project/sensors");
     objectServer.add_manager("/xyz/openbmc_project/control");
+    objectServer.add_manager("/xyz/openbmc_project/inventory");
     systemBus->request_name("xyz.openbmc_project.FanSensor");
     boost::container::flat_map<std::string, std::shared_ptr<TachSensor>>
         tachSensors;