Skip to content

Commit 9dedf57

Browse files
committed
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 <[email protected]>
1 parent 02f6ff1 commit 9dedf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redfish-core/lib/processor.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ class ProcessorCollection : public Node
466466
"#ProcessorCollection.ProcessorCollection";
467467
res.jsonValue["Name"] = "Processor Collection";
468468

469-
res.jsonValue["@odata.id"] = "/redfish/v1/Systems/system/Processors/";
469+
res.jsonValue["@odata.id"] = "/redfish/v1/Systems/system/Processors";
470470
auto asyncResp = std::make_shared<AsyncResp>(res);
471471

472472
collection_util::getCollectionMembers(

0 commit comments

Comments
 (0)