From 140190d42c134c9986379bda58314f9c1ffddd50 Mon Sep 17 00:00:00 2001 From: xuyifan <675434007@qq.com> Date: Sat, 28 Jan 2023 15:19:58 +0800 Subject: [PATCH] fix line --- statistics/interact_with_storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/statistics/interact_with_storage.go b/statistics/interact_with_storage.go index f68d0eaa4e8fc..478b845937067 100644 --- a/statistics/interact_with_storage.go +++ b/statistics/interact_with_storage.go @@ -75,6 +75,7 @@ func (sr *StatsReader) IsHistory() bool { return sr.snapshot > 0 } +// Close closes the StatsReader. func (sr *StatsReader) Close() error { if sr.IsHistory() || sr.ctx == nil { return nil