diff options
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/include/utils/fw_utils.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/redfish-core/include/utils/fw_utils.hpp b/redfish-core/include/utils/fw_utils.hpp index 296c900da2..7043291429 100644 --- a/redfish-core/include/utils/fw_utils.hpp +++ b/redfish-core/include/utils/fw_utils.hpp @@ -207,6 +207,11 @@ std::string getRedfishFWState(const std::string &fwState) { return "Updating"; } + else if (fwState == + "xyz.openbmc_project.Software.Activation.Activations.StandbySpare") + { + return "StandbySpare"; + } else { BMCWEB_LOG_DEBUG << "Default fw state " << fwState << " to Disabled"; |