This commit is contained in:
UlricQin 2021-11-29 15:36:15 +08:00
parent 536e2a3b7c
commit 4ddbba1400
1 changed files with 2 additions and 2 deletions

View File

@ -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{}{}
}
}
}