commit | 60713b0bf20c29b8b63b8626bf3f894feb03aeea | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Aug 18 10:21:05 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Wed Aug 19 17:44:00 2020 +0000 |
tree | 306f9144aaaacb4a185c66c9f79d3dc1c1fdca72 | |
parent | 7f7687e5ea3a4367bceb1262e48f2eac9d87215b [diff] [blame] |
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>
diff --git a/src/store/modules/Configuration/FirmwareStore.js b/src/store/modules/Configuration/FirmwareStore.js index ead5199..5386517 100644 --- a/src/store/modules/Configuration/FirmwareStore.js +++ b/src/store/modules/Configuration/FirmwareStore.js
@@ -130,7 +130,10 @@ 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 => {