mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Enable browser support for gateway (#4425)
This commit is contained in:
@@ -30,7 +30,7 @@ var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
|
||||
/// Bucket operations
|
||||
|
||||
// MakeBucket - make a bucket.
|
||||
func (xl xlObjects) MakeBucket(bucket string) error {
|
||||
func (xl xlObjects) MakeBucketWithLocation(bucket, location string) error {
|
||||
// Verify if bucket is valid.
|
||||
if !IsValidBucketName(bucket) {
|
||||
return traceError(BucketNameInvalid{Bucket: bucket})
|
||||
|
||||
Reference in New Issue
Block a user