mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Fix site replication status reporting of quota (#16626)
This commit is contained in:
parent
37134e42d4
commit
eb7d3da994
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user