提交 4ddbba14 编写于 作者: U UlricQin

bugfix

上级 536e2a3b
......@@ -80,8 +80,8 @@ func (m *AlertMute) Parse() error {
} else if m.ITags[i].Func == "in" {
arr := strings.Fields(m.ITags[i].Value)
m.ITags[i].Vset = make(map[string]struct{})
for i := 0; i < len(arr); i++ {
m.ITags[i].Vset[arr[i]] = struct{}{}
for j := 0; j < len(arr); j++ {
m.ITags[i].Vset[arr[j]] = struct{}{}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册