Clean up monitor on delete bucket (#10698)

This commit is contained in:
Ritesh H Shukla
2020-10-16 17:59:31 -07:00
committed by GitHub
parent bd2131ba34
commit 0b53e30ecb
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ func (sys *BucketMetadataSys) Remove(bucket string) {
}
sys.Lock()
delete(sys.metadataMap, bucket)
globalBucketMonitor.DeleteBucket(bucket)
sys.Unlock()
}