mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert: fix comment for UpdateWith exported methods
This commit is contained in:
parent
270552fde4
commit
d2f30e8d79
2 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ func (ar *AlertingRule) toTimeSeries(timestamp time.Time) []prompbmarshal.TimeSe
|
|||
return tss
|
||||
}
|
||||
|
||||
// copy all significant fields.
|
||||
// UpdateWith copies all significant fields.
|
||||
// alerts state isn't copied since
|
||||
// it should be updated in next 2 Execs
|
||||
func (ar *AlertingRule) UpdateWith(r Rule) error {
|
||||
|
|
|
@ -118,7 +118,7 @@ func (rr *RecordingRule) toTimeSeries(m datasource.Metric, timestamp time.Time)
|
|||
return newTimeSeries(m.Value, labels, timestamp)
|
||||
}
|
||||
|
||||
// copy all significant fields.
|
||||
// UpdateWith copies all significant fields.
|
||||
// alerts state isn't copied since
|
||||
// it should be updated in next 2 Execs
|
||||
func (rr *RecordingRule) UpdateWith(r Rule) error {
|
||||
|
|
Loading…
Reference in a new issue