1
0
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:
Harshavardhana
2018-06-29 14:56:07 -07:00
committed by kannappanr
parent 4070902cda
commit 29f2dbca6b
4 changed files with 28 additions and 7 deletions

View File

@@ -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.