diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2019-01-09 06:32:16 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-01-10 06:06:08 +0300 |
commit | 947326618971c0f658f4a5348df2f47d8819b165 (patch) | |
tree | 4cd65d999aa419075ad57770571260cdd2485c0b /include/obmc_console.hpp | |
parent | a870486d56be37d552066ca87fa1aa871db54140 (diff) | |
download | bmcweb-947326618971c0f658f4a5348df2f47d8819b165.tar.xz |
Fix host state checking logic
Resolves openbmc/bmcweb#12
Testing: Verified this with system booted against
redfish/v1/Systems/motherboard:
"PowerState": "On",
"Status": {
"State": "Enabled"
},
and this with system powered off:
"PowerState": "Off",
"Status": {
"State": "Disabled"
},
Change-Id: I0acbf0992d730e4a5189d9af962370277f59eaaa
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'include/obmc_console.hpp')
0 files changed, 0 insertions, 0 deletions