diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-10-15 00:36:35 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-10-16 16:09:57 +0300 |
commit | 9dedf572daf24c77e8c0a8754c25e01769590e4c (patch) | |
tree | 13980d8d3bd7fd37b1c3013cd9d9170ed8e9e23c /redfish-core/lib | |
parent | 02f6ff1962366dce770e459408bd4f6976c06d53 (diff) | |
download | bmcweb-9dedf572daf24c77e8c0a8754c25e01769590e4c.tar.xz |
Processors: Remove / at end of odata.id
Matches mockups and other places in code.
Tested:
curl -k https://$bmc/redfish/v1/Systems/system/Processors
{
"@odata.id": "/redfish/v1/Systems/system/Processors",
"@odata.type": "#ProcessorCollection.ProcessorCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0"
},
...
Change-Id: I828e49013e09b9f40e189fd736103595ddb19a42
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib')
-rw-r--r-- | redfish-core/lib/processor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/processor.hpp b/redfish-core/lib/processor.hpp index 4c9b1dc30e..79b5305132 100644 --- a/redfish-core/lib/processor.hpp +++ b/redfish-core/lib/processor.hpp @@ -466,7 +466,7 @@ class ProcessorCollection : public Node "#ProcessorCollection.ProcessorCollection"; res.jsonValue["Name"] = "Processor Collection"; - res.jsonValue["@odata.id"] = "/redfish/v1/Systems/system/Processors/"; + res.jsonValue["@odata.id"] = "/redfish/v1/Systems/system/Processors"; auto asyncResp = std::make_shared<AsyncResp>(res); collection_util::getCollectionMembers( |