Fix regression on metadata uri
e9f120141c8d2a1404660e46ce2126c83521405d caused a regression on this
that can be seen from the find and replace. Unfortunately service
validator doesn't catch this, but protocol validator does.
Tested: Run redfish protocol validator and see this test is now passing.
Change-Id: Ie90be9e7dd9332924a33f71ee6125b82cb21bcec
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/lib/metadata.hpp b/redfish-core/lib/metadata.hpp
index e708928..5a014cf 100644
--- a/redfish-core/lib/metadata.hpp
+++ b/redfish-core/lib/metadata.hpp
@@ -115,7 +115,7 @@
inline void requestRoutesMetadata(App& app)
{
- BMCWEB_ROUTE(app, "/redfish/v1/$metadat/")
+ BMCWEB_ROUTE(app, "/redfish/v1/$metadata/")
.methods(boost::beast::http::verb::get)(
std::bind_front(handleMetadataGet, std::ref(app)));
}