diff options
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | 2022-08-05 11:21:51 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-09-06 17:47:10 +0300 |
commit | d8a5d5d8e07f6dec97ed0cbc84052656165f6172 (patch) | |
tree | 39e7630e6017f77dbaca8e7ef8a3b9d078abc2be /include/google | |
parent | 3e7ab70817a6e49684c7c01ec0f2d67630f36559 (diff) | |
download | bmcweb-d8a5d5d8e07f6dec97ed0cbc84052656165f6172.tar.xz |
Update content of ResourceNotFound/ResourceAlreadyExists message
According to Redfish Base Message Registry definition [1], the first
argument of ResourceNotFound and ResourceAlreadyExists is the schema
name of the resource. This patch changes the first argument to non-
versioned schema name treewide.
Tested:
Verified the error message matches the definition, and Redfish Service
Validator passed.
[1] https://redfish.dmtf.org/registries/Base.1.13.0.json
Change-Id: Ib5cd853578ef0bffda1184d10827241e94faaf68
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
Diffstat (limited to 'include/google')
-rw-r--r-- | include/google/google_service_root.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/google/google_service_root.hpp b/include/google/google_service_root.hpp index 2100fabba2..fddd7b66dc 100644 --- a/include/google/google_service_root.hpp +++ b/include/google/google_service_root.hpp @@ -85,8 +85,7 @@ inline void hothGetSubtreeCallback( } // Couldn't find an object with that name. return an error - redfish::messages::resourceNotFound( - asyncResp->res, "#RootOfTrust.v1_0_0.RootOfTrust", rotId); + redfish::messages::resourceNotFound(asyncResp->res, "RootOfTrust", rotId); } inline void resolveRoT(const std::string& command, |