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]
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue