mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert: add missing comment for ErrStateRestore
This commit is contained in:
parent
d6439490f5
commit
237e9f9fd7
1 changed files with 1 additions and 0 deletions
|
@ -405,6 +405,7 @@ func alertForToTimeSeries(name string, a *notifier.Alert, timestamp time.Time) p
|
||||||
return newTimeSeries(float64(a.Start.Unix()), labels, timestamp)
|
return newTimeSeries(float64(a.Start.Unix()), labels, timestamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ErrStateRestore indicates that the vmalert state failed to restore during startup.
|
||||||
var ErrStateRestore = errors.New("failed to restore the state")
|
var ErrStateRestore = errors.New("failed to restore the state")
|
||||||
|
|
||||||
// Restore restores the state of active alerts basing on previously written timeseries.
|
// Restore restores the state of active alerts basing on previously written timeseries.
|
||||||
|
|
Loading…
Reference in a new issue