Skip to content

Commit

Permalink
Sort dispatched alerts by job+instance in the correct order (promethe…
Browse files Browse the repository at this point in the history
  • Loading branch information
tzz committed Apr 23, 2018
1 parent 80f2eeb commit ce208b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dispatch/dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func (ag *aggrGroup) flush(notify func(...*types.Alert) bool) {
}

if key_i != key_j {
return key_i > key_j
return key_i < key_j
}
}

Expand Down

0 comments on commit ce208b0

Please sign in to comment.