diff options
author | Johnathan Mantey <johnathanx.mantey@intel.com> | 2019-08-08 21:02:51 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-08-30 23:11:13 +0300 |
commit | 265c1602771dfb1eab8da654688bf881b37b3ee2 (patch) | |
tree | acc6046a7f93735c25adeca30500ea0fada3fa77 /redfish-core/lib/network_protocol.hpp | |
parent | 8310ce5cf8439bc2cd3de437d172dc7c7c2900fe (diff) | |
download | bmcweb-265c1602771dfb1eab8da654688bf881b37b3ee2.tar.xz |
Redfish: Prevent IndicatorLED PATCH from breaking Boot PATCH
Preloading an error into res.result causes the readJson function to
return with that same error. This blocks any PATCH actions on the Boot
array. The PATCH command now responds with an OK response instead of a
Missing Data response.
Tested:
Confirmed the Lit action illuminates the ID LED.
Confirmed the Blinking action causes the ID LED to blink.
Confirmed the Off action turns off the ID LED.
Confirmed Blinking overrides Lit.
Confirmed Lit overrides Blinking.
Confirmed Flashing is returns an error message.
Change-Id: I86104e2a1232f1905a7c54eb00e399b634fa69d3
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
Diffstat (limited to 'redfish-core/lib/network_protocol.hpp')
0 files changed, 0 insertions, 0 deletions