提交 6040e79d 编写于 作者: U UlricQin

sort classpaths of event

上级 834a5e83
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册