diff options
Diffstat (limited to 'src/store/modules/HardwareStatus/BmcStore.js')
-rw-r--r-- | src/store/modules/HardwareStatus/BmcStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/BmcStore.js b/src/store/modules/HardwareStatus/BmcStore.js index d96926ea..f0e4cf96 100644 --- a/src/store/modules/HardwareStatus/BmcStore.js +++ b/src/store/modules/HardwareStatus/BmcStore.js @@ -47,7 +47,7 @@ const BmcStore = { actions: { async getBmcInfo({ commit }) { return await api - .get('/redfish/v1/Managers/bmc') + .get(`${await this.dispatch('global/getBmcPath')}`) .then(({ data }) => commit('setBmcInfo', data)) .catch((error) => console.log(error)); }, |