summaryrefslogtreecommitdiff
path: root/src/store/modules/Control/ControlStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/Control/ControlStore.js')
-rw-r--r--src/store/modules/Control/ControlStore.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/store/modules/Control/ControlStore.js b/src/store/modules/Control/ControlStore.js
index f6415771..9b2e4592 100644
--- a/src/store/modules/Control/ControlStore.js
+++ b/src/store/modules/Control/ControlStore.js
@@ -8,12 +8,10 @@ const ControlStore = {
const data = { ResetType: 'GracefulRestart' };
return await api
.post('/redfish/v1/Managers/bmc/Actions/Manager.Reset', data)
- .then(() => i18n.t('pageRebootBmc.toastMessages.successRebootStart'))
+ .then(() => i18n.t('pageRebootBmc.toast.successRebootStart'))
.catch(error => {
console.log(error);
- throw new Error(
- i18n.t('pageRebootBmc.toastMessages.errorRebootStart')
- );
+ throw new Error(i18n.t('pageRebootBmc.toast.errorRebootStart'));
});
}
}