[skip e2e]Refine error msg for authentication checking (#20117)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
pull/20168/head
jaime 2022-10-28 19:25:34 +08:00 committed by GitHub
parent bddd47c60f
commit 19baecdc4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -76,11 +76,11 @@ func errProxyIsUnhealthy(id UniqueID) error {
} }
func ErrMissingMetadata() error { func ErrMissingMetadata() error {
return fmt.Errorf("invalid argument: missing metadata") return fmt.Errorf("auth check failure, due to occurs inner error: missing metadata")
} }
func ErrUnauthenticated() error { func ErrUnauthenticated() error {
return fmt.Errorf("unauthenticated: invalid credential") return fmt.Errorf("auth check failure, please check username and password are correct")
} }
func ErrProxyNotReady() error { func ErrProxyNotReady() error {