mirror of
https://github.com/minio/minio.git
synced 2025-11-28 05:04:14 -05:00
XL: isQuorum rename as isDiskQuorum, word it properly. (#2196)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
3b69b4ada4
commit
dc3bafb194
@@ -61,7 +61,7 @@ func (xl xlObjects) MakeBucket(bucket string) error {
|
||||
wg.Wait()
|
||||
|
||||
// Do we have write quorum?.
|
||||
if !isQuorum(dErrs, xl.writeQuorum) {
|
||||
if !isDiskQuorum(dErrs, xl.writeQuorum) {
|
||||
// Purge successfully created buckets if we don't have writeQuorum.
|
||||
xl.undoMakeBucket(bucket)
|
||||
return toObjectErr(errXLWriteQuorum, bucket)
|
||||
|
||||
Reference in New Issue
Block a user