diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-04-15 05:34:07 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-04-16 19:52:26 +0300 |
commit | 450a25cbaf88b640ba55435bbb5bfa8901798c5e (patch) | |
tree | 999008cff5dbd8fffd2dfb5efd4657aec4877847 /redfish-core | |
parent | 73ec8304734d10b81781fb3aa6611873cdb5bcb1 (diff) | |
download | bmcweb-450a25cbaf88b640ba55435bbb5bfa8901798c5e.tar.xz |
System: Remove 2nd setting of "Name"
Computer System Name was already set on line 1571.
Tested:
The top commit was built with this commit and validator passed.
Change-Id: I4669cb284880a597c068c6edcbd1cedb0b77ace9
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/systems.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index 041d896e74..81f310782a 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -532,7 +532,6 @@ void getComputerSystem(std::shared_ptr<AsyncResp> aResp, } } } - aResp->res.jsonValue["Name"] = "system"; aResp->res.jsonValue["Id"] = aResp->res.jsonValue["SerialNumber"]; // Grab the bios version @@ -1569,7 +1568,7 @@ class Systems : public Node const std::vector<std::string> ¶ms) override { res.jsonValue["@odata.type"] = "#ComputerSystem.v1_6_0.ComputerSystem"; - res.jsonValue["Name"] = "Computer System"; + res.jsonValue["Name"] = "system"; res.jsonValue["Id"] = "system"; res.jsonValue["SystemType"] = "Physical"; res.jsonValue["Description"] = "Computer System"; |