mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Rename StoreBucket to CreateBucket
This commit is contained in:
@@ -125,8 +125,8 @@ func (storage *Storage) StoreObject(bucket, key, contentType string, data io.Rea
|
||||
return nil
|
||||
}
|
||||
|
||||
// StoreBucket - create bucket in memory
|
||||
func (storage *Storage) StoreBucket(bucketName string) error {
|
||||
// CreateBucket - create bucket in memory
|
||||
func (storage *Storage) CreateBucket(bucketName string) error {
|
||||
storage.lock.Lock()
|
||||
defer storage.lock.Unlock()
|
||||
if !mstorage.IsValidBucket(bucketName) {
|
||||
|
||||
Reference in New Issue
Block a user