mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Implement min-free-disk as a subcommand, deprecate flag
This commit is contained in:
@@ -111,7 +111,7 @@ func (fs Filesystem) MakeBucket(bucket, acl string) *probe.Error {
|
||||
bucketDir := filepath.Join(fs.path, bucket)
|
||||
|
||||
// check if bucket exists
|
||||
if _, err := os.Stat(bucketDir); err == nil {
|
||||
if _, err = os.Stat(bucketDir); err == nil {
|
||||
return probe.NewError(BucketExists{
|
||||
Bucket: bucket,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user