summaryrefslogtreecommitdiff
path: root/redfish-core/lib/systems.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-04-15 05:34:07 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-04-16 19:52:26 +0300
commit450a25cbaf88b640ba55435bbb5bfa8901798c5e (patch)
tree999008cff5dbd8fffd2dfb5efd4657aec4877847 /redfish-core/lib/systems.hpp
parent73ec8304734d10b81781fb3aa6611873cdb5bcb1 (diff)
downloadbmcweb-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/lib/systems.hpp')
-rw-r--r--redfish-core/lib/systems.hpp3
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> &params) 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";