mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Now client requests for ACL changes are honored through PutBucketACL API
This commit is contained in:
@@ -44,6 +44,15 @@ func (m *Driver) GetBucketMetadata(bucket string) (drivers.BucketMetadata, error
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// SetBucketMetadata is a mock
|
||||
func (m *Driver) SetBucketMetadata(bucket, acl string) error {
|
||||
ret := m.Called(bucket, acl)
|
||||
|
||||
r0 := ret.Error(0)
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// SetGetObjectWriter is a mock
|
||||
func (m *Driver) SetGetObjectWriter(bucket, object string, data []byte) {
|
||||
m.ObjectWriterData[bucket+":"+object] = data
|
||||
|
||||
Reference in New Issue
Block a user