mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Implement min-free-disk as a subcommand, deprecate flag
This commit is contained in:
+1
-1
@@ -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