mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Bucket names can contain hyphen (#4324)
This commit is contained in:
parent
a767ad321a
commit
9d98bf1c0f
@ -897,7 +897,7 @@ func toJSONError(err error, params ...string) (jerr *json2.Error) {
|
||||
case "InvalidBucketName":
|
||||
if len(params) > 0 {
|
||||
jerr = &json2.Error{
|
||||
Message: fmt.Sprintf("Bucket Name %s is invalid. Lowercase letters, period, numerals are the only allowed characters and should be minimum 3 characters in length.", params[0]),
|
||||
Message: fmt.Sprintf("Bucket Name %s is invalid. Lowercase letters, period, hyphen, numerals are the only allowed characters and should be minimum 3 characters in length.", params[0]),
|
||||
}
|
||||
}
|
||||
// Bucket not found custom error message.
|
||||
|
Loading…
Reference in New Issue
Block a user