diff options
author | James Feist <james.feist@linux.intel.com> | 2019-10-03 20:51:43 +0300 |
---|---|---|
committer | James Feist <james.feist@linux.intel.com> | 2019-10-08 19:20:55 +0300 |
commit | e2e9677006af28da6abeea4f0d7130809ad70786 (patch) | |
tree | c3c2efb110bcb73b8513b6497f9d2039f171cc7d /redfish-core/lib/update_service.hpp | |
parent | 704fae6c7c4f657720a370ae82b3f0cd80173894 (diff) | |
download | bmcweb-e2e9677006af28da6abeea4f0d7130809ad70786.tar.xz |
update_service: s/update/image
Not all firmware is updateable, rename it to make sense.
Tested:
"Description": "ME image"
Change-Id: I7f78032726e9e102e9626ae1c788b7be30db2651
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'redfish-core/lib/update_service.hpp')
-rw-r--r-- | redfish-core/lib/update_service.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp index 93be08c358..9e72fa7483 100644 --- a/redfish-core/lib/update_service.hpp +++ b/redfish-core/lib/update_service.hpp @@ -677,7 +677,7 @@ class SoftwareInventory : public Node // swInvPurpose is of format: // xyz.openbmc_project.Software.Version.VersionPurpose.ABC - // Translate this to "ABC update" + // Translate this to "ABC image" size_t endDesc = swInvPurpose->rfind("."); if (endDesc == std::string::npos) { @@ -694,7 +694,7 @@ class SoftwareInventory : public Node std::string formatDesc = swInvPurpose->substr(endDesc); asyncResp->res.jsonValue["Description"] = - formatDesc + " update"; + formatDesc + " image"; getRelatedItems(asyncResp, *swInvPurpose); }, obj.second[0].first, obj.first, |