remove unnecessary code checking for supported features (#16423)

This commit is contained in:
Harshavardhana authored and GitHub committed 2023-01-17 19:37:47 +05:30
1 parent 3db658e51e
commit b4ef5ff294
14 files changed
+298 -623

No files matched your search

+1 -1
View File
@@ -4206,7 +4206,7 @@ func (c *SiteReplicationSys) purgeDeletedBucket(ctx context.Context, objAPI Obje
if !ok {
return
}
z.purgeDelete(context.Background(), minioMetaBucket, pathJoin(bucketMetaPrefix, deletedBucketsPrefix, bucket))
z.s3Peer.DeleteBucket(context.Background(), pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket), DeleteBucketOptions{})
}
// healBucket creates/deletes the bucket according to latest state across clusters participating in site replication.