mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
typo
This commit is contained in:
parent
1c2364936a
commit
999a126a3f
|
@ -19,7 +19,7 @@ func VerifyS3BucketName(name string) (err error) {
|
||||||
if idx > 0 && (ch == '.' && name[idx-1] == '.') {
|
if idx > 0 && (ch == '.' && name[idx-1] == '.') {
|
||||||
return fmt.Errorf("bucket names must not contain two adjacent periods")
|
return fmt.Errorf("bucket names must not contain two adjacent periods")
|
||||||
}
|
}
|
||||||
//TODO buckets with s3 transfer accleration cannot have . in name
|
//TODO buckets with s3 transfer acceleration cannot have . in name
|
||||||
}
|
}
|
||||||
if name[0] == '.' || name[0] == '-' {
|
if name[0] == '.' || name[0] == '-' {
|
||||||
return fmt.Errorf("name must start with number or lower case character")
|
return fmt.Errorf("name must start with number or lower case character")
|
||||||
|
|
Loading…
Reference in a new issue