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]
if !found {
s = &AlertStatus{
SilencedBy: []string{},
InhibitedBy: []string{},
}
s = &AlertStatus{}
m.m[alert] = s
}