Update error message when Alertmanager configuration override (#67895)

This commit is contained in:
Armand Grillet 2023-05-05 11:38:35 +02:00 committed by GitHub
parent f5ac099907
commit 6b51f9e06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));