types: remove redundant statements. (#2116)

Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
johncming 2019-11-26 17:04:38 +08:00 committed by Simon Pasquier
parent 324c44ccb7
commit df1f1c8d74
1 changed files with 1 additions and 4 deletions

View File

@ -204,10 +204,7 @@ func (m *memMarker) SetActive(alert model.Fingerprint) {
s, found := m.m[alert] s, found := m.m[alert]
if !found { if !found {
s = &AlertStatus{ s = &AlertStatus{}
SilencedBy: []string{},
InhibitedBy: []string{},
}
m.m[alert] = s m.m[alert] = s
} }