types: remove redundant statements. (#2116)
Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
parent
324c44ccb7
commit
df1f1c8d74
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue