mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
Fix site replication status reporting of quota (#16626)
This commit is contained in:
1 parent
37134e42d4
commit
eb7d3da994
1 file changed
+3
-1
@@ -3033,7 +3033,9 @@ func isBktQuotaCfgReplicated(total int, quotaCfgs []*madmin.BucketQuota) bool {
|
|||||||
}
|
}
|
||||||
numquotaCfgs++
|
numquotaCfgs++
|
||||||
}
|
}
|
||||||
|
if numquotaCfgs == 0 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
if numquotaCfgs > 0 && numquotaCfgs != total {
|
if numquotaCfgs > 0 && numquotaCfgs != total {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user