diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2023-07-28 18:17:14 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-07-28 19:25:50 +0300 |
commit | 3a34b742207414e20eb928e982b7c217789e89d5 (patch) | |
tree | a929bccbf76f766006647aca937e1da73e2e3749 /include/dbus_privileges.hpp | |
parent | d3dfb6eba0a4b95eb6630c289fa80be2203861e8 (diff) | |
download | bmcweb-3a34b742207414e20eb928e982b7c217789e89d5.tar.xz |
Fix RestorePolicy map
Before this code looked like:
{"xyz.openbmc_project.Control.Power.RestorePolicy.Policy.Restore",
"LastState"},
and that matches the PDI:
https://github.com/openbmc/phosphor-dbus-interfaces/blob/d1484a1499bc241316853934e6e8b735166deee2/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml#L33
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/64334/2/redfish-core/lib/systems.hpp#1350
changed this to RestorePolicy.Policy.AlwaysRestore, I think just a copy
mistake.
Pointed out by Patrick Rudolph.
Tested: None. Searching the enum now matches PDI and what was there
before.
Change-Id: I90e41d352dd1d1de3e465b4f2d5c9f78e0de5b3b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'include/dbus_privileges.hpp')
0 files changed, 0 insertions, 0 deletions