mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
Update error message when Alertmanager configuration override (#67895)
This commit is contained in:
parent
f5ac099907
commit
6b51f9e06d
@ -580,7 +580,7 @@ export const updateAlertManagerConfigAction = createAsyncThunk<void, UpdateAlert
|
||||
|
||||
if (!isLatestConfigEmpty && oldLastConfigsDiffer) {
|
||||
throw new Error(
|
||||
'It seems configuration has been recently updated. Please reload page and try again to make sure that recent changes are not overwritten.'
|
||||
'A newer Alertmanager configuration is available. Please reload the page and try again to not overwrite recent changes.'
|
||||
);
|
||||
}
|
||||
await updateAlertManagerConfig(alertManagerSourceName, addDefaultsToAlertmanagerConfig(newConfig));
|
||||
|
Loading…
Reference in New Issue
Block a user