From eb43437d83363b3f4ea20064055ecdfeffae952c Mon Sep 17 00:00:00 2001 From: Hu Shuai Date: Thu, 18 Nov 2021 16:26:07 +0800 Subject: [PATCH] Fix golint issue (#9800) Signed-off-by: Hu Shuai --- storage/remote/queue_manager.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index e7aafaf3e5..b332305188 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -670,7 +670,8 @@ func (t *QueueManager) StoreSeries(series []record.RefSeries, index int) { } } -// Update the segment number held against the series, so we can trim older ones in SeriesReset. +// UpdateSeriesSegment updates the segment number held against the series, +// so we can trim older ones in SeriesReset. func (t *QueueManager) UpdateSeriesSegment(series []record.RefSeries, index int) { t.seriesSegmentMtx.Lock() defer t.seriesSegmentMtx.Unlock()