fix sort :/ (#1007)
This commit is contained in:
parent
1bd6b8f7b9
commit
3bb2128bf4
1 changed files with 1 additions and 2 deletions
|
@ -221,8 +221,7 @@ func (b BucketResults) Len() int {
|
|||
}
|
||||
|
||||
func (b BucketResults) Less(i, j int) bool {
|
||||
|
||||
return b[i].Overflow.Alert.GetScenario()+strings.Join(b[i].Overflow.GetSources(), "@") > b[j].Overflow.Alert.GetScenario()+strings.Join(b[i].Overflow.GetSources(), "@")
|
||||
return b[i].Overflow.Alert.GetScenario()+strings.Join(b[i].Overflow.GetSources(), "@") > b[j].Overflow.Alert.GetScenario()+strings.Join(b[j].Overflow.GetSources(), "@")
|
||||
}
|
||||
|
||||
func (b BucketResults) Swap(i, j int) {
|
||||
|
|
Loading…
Add table
Reference in a new issue