From f3c237bae13d149d1fec9a02ecafbade455de681 Mon Sep 17 00:00:00 2001 From: noodles2hg <1179798460@qq.com> Date: Fri, 8 Dec 2023 21:55:05 +0800 Subject: [PATCH] lib/streamaggr/streamaggr.go: fix link in error message (#5439) --- lib/streamaggr/streamaggr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/streamaggr/streamaggr.go b/lib/streamaggr/streamaggr.go index c3d7bacddb..2158ae18c4 100644 --- a/lib/streamaggr/streamaggr.go +++ b/lib/streamaggr/streamaggr.go @@ -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) } }