From b0024756f870d89cd17be597ea6edfb314c86aa3 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Fri, 16 Aug 2024 12:21:11 +0800 Subject: [PATCH] add comments Signed-off-by: lhy1024 --- client/tlsutil/tlsconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tlsutil/tlsconfig.go b/client/tlsutil/tlsconfig.go index 338c6050aa1..9bddaa4f87b 100644 --- a/client/tlsutil/tlsconfig.go +++ b/client/tlsutil/tlsconfig.go @@ -164,7 +164,7 @@ type TLSConfig struct { CertPath string `toml:"cert-path" json:"cert-path"` // KeyPath is the path of file that contains X509 key in PEM format. KeyPath string `toml:"key-path" json:"key-path"` - // CertAllowedCNs is a CN which must be provided by a client + // CertAllowedCNs are the list of CN which must be provided by a client CertAllowedCNs []string `toml:"cert-allowed-cn" json:"cert-allowed-cn"` SSLCABytes []byte