summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/store/modules/Operations/ControlStore.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/store/modules/Operations/ControlStore.js b/src/store/modules/Operations/ControlStore.js
index efcdf627..320df6f9 100644
--- a/src/store/modules/Operations/ControlStore.js
+++ b/src/store/modules/Operations/ControlStore.js
@@ -71,14 +71,13 @@ const ControlStore = {
})
.catch((error) => console.log(error));
},
- async rebootBmc({ dispatch }) {
+ async rebootBmc() {
const data = { ResetType: 'GracefulRestart' };
return await api
.post(
`${await this.dispatch('global/getBmcPath')}/Actions/Manager.Reset`,
data,
)
- .then(() => dispatch('getLastBmcRebootTime'))
.then(() => i18n.t('pageRebootBmc.toast.successRebootStart'))
.catch((error) => {
console.log(error);