From b9e7dfb09e7fbbbaa7060c62fa607195d122cbbc Mon Sep 17 00:00:00 2001 From: chen zhengwei Date: Mon, 10 May 2021 16:21:09 +0800 Subject: [PATCH] Fix godoc in the dyn queue size feature (#2984) Signed-off-by: Chen Zhengwei --- cmd/collector/app/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/collector/app/options.go b/cmd/collector/app/options.go index 46a73271ebe..53de30ef105 100644 --- a/cmd/collector/app/options.go +++ b/cmd/collector/app/options.go @@ -125,14 +125,14 @@ func (options) QueueSize(queueSize int) Option { } } -// DynQueueSize creates an Option that initializes the queue size +// DynQueueSizeWarmup creates an Option that initializes the dynamic queue size func (options) DynQueueSizeWarmup(dynQueueSizeWarmup uint) Option { return func(b *options) { b.dynQueueSizeWarmup = dynQueueSizeWarmup } } -// DynQueueSize creates an Option that initializes the queue size +// DynQueueSizeMemory creates an Option that initializes the dynamic queue memory func (options) DynQueueSizeMemory(dynQueueSizeMemory uint) Option { return func(b *options) { b.dynQueueSizeMemory = dynQueueSizeMemory