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/chassis.hpp b/redfish-core/lib/chassis.hpp
index 95f4634..5cf667a 100644
--- a/redfish-core/lib/chassis.hpp
+++ b/redfish-core/lib/chassis.hpp
@@ -238,6 +238,7 @@
}
}
res.json_value["Name"] = chassis_id;
+ res.json_value["Id"] = chassis_id;
res.json_value["Thermal"] = {
{"@odata.id",
"/redfish/v1/Chassis/" + chassis_id + "/Thermal"}};