From eb7d3da99440581146ba646d008f153f67a4f80d Mon Sep 17 00:00:00 2001 From: Poorna Date: Wed, 15 Feb 2023 18:38:35 -0800 Subject: [PATCH] Fix site replication status reporting of quota (#16626) --- cmd/site-replication.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/site-replication.go b/cmd/site-replication.go index d8b8faa0e..067d529aa 100644 --- a/cmd/site-replication.go +++ b/cmd/site-replication.go @@ -3033,7 +3033,9 @@ func isBktQuotaCfgReplicated(total int, quotaCfgs []*madmin.BucketQuota) bool { } numquotaCfgs++ } - + if numquotaCfgs == 0 { + return true + } if numquotaCfgs > 0 && numquotaCfgs != total { return false }