mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
better comment about state changes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user