diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-08-18 18:21:05 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-08-19 20:44:00 +0300 |
commit | 60713b0bf20c29b8b63b8626bf3f894feb03aeea (patch) | |
tree | 306f9144aaaacb4a185c66c9f79d3dc1c1fdca72 /src/store/modules/Configuration/FirmwareStore.js | |
parent | 7f7687e5ea3a4367bceb1262e48f2eac9d87215b (diff) | |
download | webui-vue-60713b0bf20c29b8b63b8626bf3f894feb03aeea.tar.xz |
Code update: Fix TFTP
For TFTP use
/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate
https://github.com/openbmc/docs/blob/master/REDFISH-cheatsheet.md
Change-Id: I4deb82b16c5b91e15958a2248604a6f6323e5185
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/store/modules/Configuration/FirmwareStore.js')
-rw-r--r-- | src/store/modules/Configuration/FirmwareStore.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/store/modules/Configuration/FirmwareStore.js b/src/store/modules/Configuration/FirmwareStore.js index ead51994..53865176 100644 --- a/src/store/modules/Configuration/FirmwareStore.js +++ b/src/store/modules/Configuration/FirmwareStore.js @@ -130,7 +130,10 @@ const FirmwareStore = { await dispatch('setApplyTimeImmediate'); } return await api - .post('/redfish/v1/UpdateService', data) + .post( + '/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate', + data + ) .then(() => dispatch('getSystemFirwareVersion')) .then(() => i18n.t('pageFirmware.toast.successUploadMessage')) .catch(error => { |