Fix golint issue (#9800)

Signed-off-by: Hu Shuai <hus.fnst@fujitsu.com>
This commit is contained in:
Hu Shuai 2021-11-18 16:26:07 +08:00 committed by GitHub
parent 7d5abdcf22
commit eb43437d83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()