Skip to content
Commit 94732661 authored by Andrew Geissler's avatar Andrew Geissler Committed by Ed Tanous
Browse files

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: default avatarAndrew Geissler <geissonator@yahoo.com>
parent a870486d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment