XL: isQuorum rename as isDiskQuorum, word it properly. (#2196)

This commit is contained in:
Harshavardhana
2016-07-13 00:29:48 -07:00
committed by Anand Babu (AB) Periasamy
parent 3b69b4ada4
commit dc3bafb194
7 changed files with 28 additions and 25 deletions

View File

@@ -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)