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>
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp
index 041d896..81f3107 100644
--- a/redfish-core/lib/systems.hpp
+++ b/redfish-core/lib/systems.hpp
@@ -532,7 +532,6 @@
}
}
}
- aResp->res.jsonValue["Name"] = "system";
aResp->res.jsonValue["Id"] =
aResp->res.jsonValue["SerialNumber"];
// Grab the bios version
@@ -1569,7 +1568,7 @@
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";