summaryrefslogtreecommitdiff
path: root/redfish-core/include
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include')
-rw-r--r--redfish-core/include/utils/fw_utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/utils/fw_utils.hpp b/redfish-core/include/utils/fw_utils.hpp
index c5cf1f80db..296c900da2 100644
--- a/redfish-core/include/utils/fw_utils.hpp
+++ b/redfish-core/include/utils/fw_utils.hpp
@@ -240,6 +240,7 @@ void getFwStatus(std::shared_ptr<AsyncResp> asyncResp,
if (error_code)
{
// not all fwtypes are updateable, this is ok
+ asyncResp->res.jsonValue["Status"]["State"] = "Enabled";
return;
}
boost::container::flat_map<std::string, VariantType>::const_iterator