sort classpaths of event
This commit is contained in:
parent
834a5e83ee
commit
6040e79d50
|
@ -57,6 +57,7 @@ func consume(events []interface{}, sema *semaphore.Semaphore) {
|
|||
event.RuleNote = alertRule.Note
|
||||
event.NotifyChannels = alertRule.NotifyChannels
|
||||
classpaths := cache.ResClasspath.GetValues(event.ResIdent)
|
||||
sort.Strings(classpaths)
|
||||
event.ResClasspaths = strings.Join(classpaths, " ")
|
||||
enrichTag(event, alertRule)
|
||||
|
||||
|
|
Loading…
Reference in New Issue