mirror of
https://github.com/minio/minio.git
synced 2025-12-02 06:07:51 -05:00
An attempt to bring in memory layer into donut driver
This commit is contained in:
@@ -321,7 +321,7 @@ func (memory *memoryDriver) createObject(bucket, key, contentType, expectedMD5Su
|
||||
func (memory *memoryDriver) CreateBucket(bucketName, acl string) error {
|
||||
memory.lock.RLock()
|
||||
if len(memory.storedBuckets) == totalBuckets {
|
||||
memory.lock.RLock()
|
||||
memory.lock.RUnlock()
|
||||
return iodine.New(drivers.TooManyBuckets{Bucket: bucketName}, nil)
|
||||
}
|
||||
if !drivers.IsValidBucket(bucketName) {
|
||||
|
||||
Reference in New Issue
Block a user