mirror of
https://github.com/minio/minio.git
synced 2026-11-26 15:25:53 +00:00
Rename StoreBucket to CreateBucket
This commit is contained in:
1 parent
8c6aa45458
commit
24d5018037
8 files changed
+34
-32
No files matched your search
@@ -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