mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[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>
This commit is contained in:
parent
bddd47c60f
commit
19baecdc4d
@ -76,11 +76,11 @@ func errProxyIsUnhealthy(id UniqueID) 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 {
|
||||
return fmt.Errorf("unauthenticated: invalid credential")
|
||||
return fmt.Errorf("auth check failure, please check username and password are correct")
|
||||
}
|
||||
|
||||
func ErrProxyNotReady() error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user