mirror of
https://github.com/minio/mc.git
synced 2025-11-12 01:02:26 +03:00
Fix 'mc mb' to guide the user when bucket is not passed (#2476)
Additionally this PR also allows for creating prefixes on S3 compatible object storage backends in the following form ``` mc mb s3/harshavardhana/object/prefix/ ```
This commit is contained in:
committed by
kannappanr
parent
4070902cda
commit
29f2dbca6b
@@ -96,7 +96,7 @@ func (e ObjectOnGlacier) Error() string {
|
||||
type BucketNameTopLevel struct{}
|
||||
|
||||
func (e BucketNameTopLevel) Error() string {
|
||||
return "Buckets can only be created at the top level."
|
||||
return "Buckets or prefixes can only be created with `/` suffix."
|
||||
}
|
||||
|
||||
// GenericFileError - generic file error.
|
||||
|
||||
Reference in New Issue
Block a user