mirror of
https://github.com/minio/minio.git
synced 2026-11-17 22:57:16 +00:00
Finishing all the test case support for ACL and other fixes
This commit is contained in:
1 parent
de710962c0
commit
e95604ff86
11 files changed
+555
-291
No files matched your search
@@ -44,9 +44,10 @@ func (d donut) GetBucketMetadata(bucket string) (map[string]string, error) {
|
||||
if _, ok := d.buckets[bucket]; !ok {
|
||||
return nil, iodine.New(errors.New("bucket does not exist"), nil)
|
||||
}
|
||||
// TODO get this, from whatever is written from SetBucketMetadata
|
||||
metadata := make(map[string]string)
|
||||
metadata["name"] = bucket
|
||||
metadata["created"] = time.Now().Format(time.RFC3339Nano) // TODO get this, from whatever is written from SetBucketMetadata
|
||||
metadata["created"] = time.Now().Format(time.RFC3339Nano)
|
||||
metadata["acl"] = "private"
|
||||
return metadata, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user