From 6b10d346cad0b0b90ac7362eaaab237903029b42 Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Sat, 8 Oct 2022 14:34:33 +0800 Subject: [PATCH] [release-3.3] fix #5267 by renaming yaml struct tag (#5275) fix #5267 by renaming yaml struct tag Signed-off-by: chavacava Signed-off-by: chavacava Co-authored-by: chavacava --- pkg/apiserver/authentication/identityprovider/ldap/ldap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiserver/authentication/identityprovider/ldap/ldap.go b/pkg/apiserver/authentication/identityprovider/ldap/ldap.go index b0d8f37b1..bad0e95f1 100644 --- a/pkg/apiserver/authentication/identityprovider/ldap/ldap.go +++ b/pkg/apiserver/authentication/identityprovider/ldap/ldap.go @@ -45,7 +45,7 @@ func init() { type ldapProvider struct { // Host and optional port of the LDAP server in the form "host:port". // If the port is not supplied, 389 for insecure or StartTLS connections, 636 - Host string `json:"host,omitempty" yaml:"managerDN"` + Host string `json:"host,omitempty" yaml:"host"` // Timeout duration when reading data from remote server. Default to 15s. ReadTimeout int `json:"readTimeout" yaml:"readTimeout"` // If specified, connections will use the ldaps:// protocol