Update sensors to reflect changes after switching to sdbusplus
- GetManagedObjects should be call only on service root path
- additional fixes for RSV
Change-Id: I4e345e57b081d7683fd8f3f4efa23fe4091ce41e
Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com>
diff --git a/redfish-core/lib/thermal.hpp b/redfish-core/lib/thermal.hpp
index 9ebce13..3f2af98 100644
--- a/redfish-core/lib/thermal.hpp
+++ b/redfish-core/lib/thermal.hpp
@@ -24,7 +24,7 @@
public:
Thermal(CrowApp& app)
: Node((app), "/redfish/v1/Chassis/<str>/Thermal/", std::string()) {
- Node::json["@odata.type"] = "#Thermal.v1_2_0.Thermal";
+ Node::json["@odata.type"] = "#Thermal.v1_4_0.Thermal";
Node::json["@odata.context"] = "/redfish/v1/$metadata#Thermal.Thermal";
Node::json["Id"] = "Thermal";
Node::json["Name"] = "Thermal";