From 187129a9074c0a5d80d9da8047065b2a734f1d4b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 17 Oct 2020 00:38:54 -0700 Subject: [PATCH] fix comment in bucket bandwidth package --- pkg/bucket/bandwidth/monitor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/bucket/bandwidth/monitor.go b/pkg/bucket/bandwidth/monitor.go index 243c181d8..47e287a05 100644 --- a/pkg/bucket/bandwidth/monitor.go +++ b/pkg/bucket/bandwidth/monitor.go @@ -171,6 +171,7 @@ func (m *Monitor) track(bucket string, object string, timeNow time.Time) *bucket return b } +// DeleteBucket deletes monitoring the 'bucket' func (m *Monitor) DeleteBucket(bucket string) { m.lock.Lock() defer m.lock.Unlock()