1
0
mirror of https://github.com/minio/mc.git synced 2025-11-28 08:03:56 +03:00

Improve errInvalidAlias (#4532)

This commit is contained in:
jinapurapu
2023-04-08 08:20:20 -07:00
committed by GitHub
parent 2d12a0a310
commit a9fb9426f1

View File

@@ -56,7 +56,7 @@ var errInvalidAliasedURL = func(URL string) *probe.Error {
type invalidAliasErr error
var errInvalidAlias = func(alias string) *probe.Error {
msg := "Alias `" + alias + "` should have alphanumeric characters such as [helloWorld0, hello_World0, ...]"
msg := "Alias `" + alias + "` should have alphanumeric characters such as [helloWorld0, hello_World0, ...] and begin with a letter"
return probe.NewError(invalidAliasErr(errors.New(msg)))
}