diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-02-15 01:35:59 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-02-15 01:36:25 +0300 |
commit | 91cc52f96d2633efc1f7313c5ba7c2ef151bedde (patch) | |
tree | e68e946273964051772595d9f3ebf0fad6547d27 /redfish-core/lib | |
parent | 73155d0eb52a5f229f73b722c7d39ab07c9ca1f5 (diff) | |
download | bmcweb-91cc52f96d2633efc1f7313c5ba7c2ef151bedde.tar.xz |
chassis: Remove odata.context
Redfish made odata.context optional (1.6.0 of DSP0266) and
has removed odata.context from example payloads in the
specification (1.7.0 of DSP0266), removed it from the mockups,
and Redfish recommended not using.
Change-Id: I96e8908f07d27696aaf2e2ba33f49411b8e51ec5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib')
-rw-r--r-- | redfish-core/lib/chassis.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/redfish-core/lib/chassis.hpp b/redfish-core/lib/chassis.hpp index 59987fb070..69a48a7cb5 100644 --- a/redfish-core/lib/chassis.hpp +++ b/redfish-core/lib/chassis.hpp @@ -179,8 +179,6 @@ class ChassisCollection : public Node { res.jsonValue["@odata.type"] = "#ChassisCollection.ChassisCollection"; res.jsonValue["@odata.id"] = "/redfish/v1/Chassis"; - res.jsonValue["@odata.context"] = - "/redfish/v1/$metadata#ChassisCollection.ChassisCollection"; res.jsonValue["Name"] = "Chassis Collection"; const std::array<const char *, 2> interfaces = { @@ -322,8 +320,6 @@ class Chassis : public Node "#Chassis.v1_10_0.Chassis"; asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Chassis/" + chassisId; - asyncResp->res.jsonValue["@odata.context"] = - "/redfish/v1/$metadata#Chassis.Chassis"; asyncResp->res.jsonValue["Name"] = "Chassis Collection"; asyncResp->res.jsonValue["ChassisType"] = "RackMount"; asyncResp->res.jsonValue["PCIeDevices"] = { |