storage: s/Drive/Drives
The link was wrong, fix it.
Tested:
Navigated to a drive using new path, and it worked.
Change-Id: Ie008efef23f4a7a17bfc0c3f74a4deac87e0d94c
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/redfish-core/lib/storage.hpp b/redfish-core/lib/storage.hpp
index 5554839..611c7e7 100644
--- a/redfish-core/lib/storage.hpp
+++ b/redfish-core/lib/storage.hpp
@@ -101,7 +101,7 @@
storageArray.push_back(
{{"@odata.id",
- "/redfish/v1/Systems/system/Storage/1/Drive/" +
+ "/redfish/v1/Systems/system/Storage/1/Drives/" +
objpath.substr(lastPos + 1)}});
}
@@ -121,7 +121,7 @@
{
public:
Drive(CrowApp &app) :
- Node(app, "/redfish/v1/Systems/system/Storage/1/Drive/<str>/",
+ Node(app, "/redfish/v1/Systems/system/Storage/1/Drives/<str>/",
std::string())
{
entityPrivileges = {
@@ -177,7 +177,7 @@
asyncResp->res.jsonValue["@odata.context"] =
"/redfish/v1/$metadata#Drive.Drive";
asyncResp->res.jsonValue["@odata.id"] =
- "/redfish/v1/Systems/system/Storage/1/Drive/" + driveId;
+ "/redfish/v1/Systems/system/Storage/1/Drives/" + driveId;
if (connectionNames.size() != 1)
{