Fix a trailing slash on LogServices
Redfish takes a not-so-strong opinion on trailing slashes, and while
they're kind of allowed, the validator does mention them.
This fixes the URI endpoint to not contain a slash.
Tested:
Ran redfish service validator, and observed no new errors.
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Change-Id: I697f99e17fd4564f5f9648b972a1168de78c271d
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index aa4fba7..a2d083a 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -997,7 +997,7 @@
asyncResp->res.jsonValue["OverWritePolicy"] = "WrapsWhenFull";
asyncResp->res.jsonValue["Entries"] = {
{"@odata.id",
- "/redfish/v1/Managers/bmc/LogServices/Journal/Entries/"}};
+ "/redfish/v1/Managers/bmc/LogServices/Journal/Entries"}};
}
};
@@ -1045,7 +1045,7 @@
{"Severity",
severity <= 2 ? "Critical"
: severity <= 4 ? "Warning" : severity <= 7 ? "OK" : ""},
- {"OemRecordFormat", "Intel BMC Journal Entry"},
+ {"OemRecordFormat", "BMC Journal Entry"},
{"Created", std::move(entryTimeStr)}};
return 0;
}