mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/streamaggr: fix incorrect err message for min interval
value
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
5aa0f77d8c
commit
2ff94b2bfa
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ func newAggregator(cfg *Config, pushFunc PushFunc, dedupInterval time.Duration)
|
|||
return nil, fmt.Errorf("cannot parse `interval: %q`: %w", cfg.Interval, err)
|
||||
}
|
||||
if interval <= time.Second {
|
||||
return nil, fmt.Errorf("the minimum supported aggregation interval is 1s; got %s", interval)
|
||||
return nil, fmt.Errorf("aggregation interval should be higher than 1s; got %s", interval)
|
||||
}
|
||||
|
||||
// check cfg.StalenessInterval
|
||||
|
|
Loading…
Reference in a new issue