commit | 700869843888e9370c987639e39c711ce07cd561 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Fri Jan 04 15:10:04 2019 -0600 |
committer | Gunnar Mills <gmills@us.ibm.com> | Fri Jan 04 15:13:07 2019 -0600 |
tree | 448533ff0fe5d71b298dc51330f640acdfcde74a | |
parent | cf7219ce64d600d10b1de4eca1f0c690dfb32344 [diff] |
Fix RequestedBMCTransition capitalization The property name is capitalized as RequestedBMCTransition. BMCweb is case sensitive. https://github.com/openbmc/phosphor-dbus-interfaces/blob/f019ea0979ce9d29654e0ce7bfbeb57783c59bd9/xyz/openbmc_project/State/BMC.interface.yaml#L8 Tested: Rebooted a Witherspoon system via GUI. Change-Id: Ie1379125d32d4c8e17aadcac7e0d65c89d49d2bd Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js index 908dd27..09e2690 100644 --- a/app/common/services/api-utils.js +++ b/app/common/services/api-utils.js
@@ -897,7 +897,7 @@ $http({ method: 'PUT', url: DataService.getHost() + - '/xyz/openbmc_project/state/bmc0/attr/RequestedBmcTransition', + '/xyz/openbmc_project/state/bmc0/attr/RequestedBMCTransition', withCredentials: true, data: JSON.stringify( {'data': 'xyz.openbmc_project.State.BMC.Transition.Reboot'})