mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Now donut supports bucket ACL's, bringing in this support for dl.minio.io
This commit is contained in:
@@ -285,6 +285,10 @@ func (memory *memoryDriver) CreateBucket(bucketName, acl string) error {
|
||||
}
|
||||
memory.lock.RUnlock()
|
||||
|
||||
if strings.TrimSpace(acl) == "" {
|
||||
// default is private
|
||||
acl = "private"
|
||||
}
|
||||
var newBucket = storedBucket{}
|
||||
newBucket.metadata = drivers.BucketMetadata{}
|
||||
newBucket.metadata.Name = bucketName
|
||||
|
||||
Reference in New Issue
Block a user