Skip to content

Commit

Permalink
Bucket names can contain hyphen (#4324)
Browse files Browse the repository at this point in the history
  • Loading branch information
luomeiqin authored and harshavardhana committed May 19, 2017
1 parent a767ad3 commit 9d98bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/web-handlers.go
Expand Up @@ -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.
Expand Down

0 comments on commit 9d98bf1

Please sign in to comment.