app/vmalert: rm unnecessary err check

The error check was needed before a84491324d
It was kept by mistake and makes no sense to have rn.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-08-07 09:09:24 +02:00
parent 86b473c476
commit 9726e6c1a2
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -441,9 +441,6 @@ func (ar *AlertingRule) exec(ctx context.Context, ts time.Time, limit int) ([]pr
}
a.Value = m.Values[0]
a.Annotations = annotations
if err != nil {
return nil, err
}
a.KeepFiringSince = time.Time{}
continue
}