mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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++
|
numquotaCfgs++
|
||||||
}
|
}
|
||||||
|
if numquotaCfgs == 0 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
if numquotaCfgs > 0 && numquotaCfgs != total {
|
if numquotaCfgs > 0 && numquotaCfgs != total {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user