diff --git a/pkg/services/alerting/result_handler.go b/pkg/services/alerting/result_handler.go index 455296fbfc7..420ffeb9a55 100644 --- a/pkg/services/alerting/result_handler.go +++ b/pkg/services/alerting/result_handler.go @@ -69,8 +69,9 @@ func (handler *DefaultResultHandler) Handle(evalContext *EvalContext) error { handler.log.Error("Failed to save state", "error", err) } else { - // StateChanges is used for de dupping alert notifications - // when two servers are raising. + // StateChanges is used for de duping alert notifications + // when two servers are raising. This makes sure that the server + // with the last state change always sends a notification. evalContext.Rule.StateChanges = cmd.Result.StateChanges }