diff options
| author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2019-02-13 06:02:39 +0530 |
|---|---|---|
| committer | James Feist <james.feist@linux.intel.com> | 2019-03-11 17:13:35 +0000 |
| commit | 8afa1b9b96aeb2ebebc3d40a7ffd69fc3537bab1 (patch) | |
| tree | 9d44d6ae9efe5ed09047afc509fa79c0a7ecc4ef | |
| parent | 24c8542dce451ba02df51e83174dbcdabc6bf09f (diff) | |
| download | bmcweb-8afa1b9b96aeb2ebebc3d40a7ffd69fc3537bab1.tar.gz bmcweb-8afa1b9b96aeb2ebebc3d40a7ffd69fc3537bab1.zip | |
Fix typelist for fan in Thermal schema
should be fan_tach instad of fan
Tested-by:
Did a Get method on thermal profile, and made sure, fans
are listed as expected.
Change-Id: Ic5ac321b8f998136b646d6cfd3c7bb5946fe9194
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
| -rw-r--r-- | redfish-core/lib/thermal.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/thermal.hpp b/redfish-core/lib/thermal.hpp index 4b2a0a4..14b018f 100644 --- a/redfish-core/lib/thermal.hpp +++ b/redfish-core/lib/thermal.hpp @@ -38,7 +38,7 @@ class Thermal : public Node private: std::initializer_list<const char*> typeList = { - "/xyz/openbmc_project/sensors/fan", + "/xyz/openbmc_project/sensors/fan_tach", "/xyz/openbmc_project/sensors/temperature", "/xyz/openbmc_project/sensors/fan_pwm"}; void doGet(crow::Response& res, const crow::Request& req, |

