lib/streamaggr/streamaggr.go: fix link in error message (#5439)

This commit is contained in:
noodles2hg 2023-12-08 21:55:05 +08:00 committed by GitHub
parent 74b09ab4de
commit 8efe694160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -303,7 +303,7 @@ func newAggregator(cfg *Config, pushFunc PushFunc, dedupInterval time.Duration)
// initialize outputs list
if len(cfg.Outputs) == 0 {
return nil, fmt.Errorf("`outputs` list must contain at least a single entry from the list %s; "+
"see https://docs.victoriametrics.com/vmagent.html#stream-aggregation", supportedOutputs)
"see https://docs.victoriametrics.com/stream-aggregation.html", supportedOutputs)
}
aggrStates := make([]aggrState, len(cfg.Outputs))
for i, output := range cfg.Outputs {
@ -358,7 +358,7 @@ func newAggregator(cfg *Config, pushFunc PushFunc, dedupInterval time.Duration)
aggrStates[i] = newHistogramBucketAggrState(stalenessInterval)
default:
return nil, fmt.Errorf("unsupported output=%q; supported values: %s; "+
"see https://docs.victoriametrics.com/vmagent.html#stream-aggregation", output, supportedOutputs)
"see https://docs.victoriametrics.com/stream-aggregation.html", output, supportedOutputs)
}
}