From 89974f7594fb22063ef20b6ab3909bf8a466f2a3 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Fri, 23 Jul 2021 13:23:24 +0300 Subject: [PATCH] go/mysql/auth: fix error message for wrong auth method. Should be `mysql_clientcert_auth_method`. Signed-off-by: Fatih Arslan --- go/mysql/auth_server_clientcert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/mysql/auth_server_clientcert.go b/go/mysql/auth_server_clientcert.go index 04f6bb97986..f5e2fa6d2fa 100644 --- a/go/mysql/auth_server_clientcert.go +++ b/go/mysql/auth_server_clientcert.go @@ -59,7 +59,7 @@ func newAuthServerClientCert() *AuthServerClientCert { case MysqlDialog: authMethod = NewMysqlDialogAuthMethod(ascc, ascc, "") default: - log.Exitf("Invalid mysql_ldap_auth_method value: only support mysql_clear_password or dialog") + log.Exitf("Invalid mysql_clientcert_auth_method value: only support mysql_clear_password or dialog") } ascc.methods = []AuthMethod{authMethod}