fix unit test for TLS and linted packages

parent 31931741
...@@ -5,6 +5,7 @@ cmd/gendocs ...@@ -5,6 +5,7 @@ cmd/gendocs
cmd/genkubedocs cmd/genkubedocs
cmd/genman cmd/genman
cmd/genswaggertypedocs cmd/genswaggertypedocs
cmd/genyaml
cmd/integration cmd/integration
cmd/kube-apiserver cmd/kube-apiserver
cmd/kube-apiserver/app cmd/kube-apiserver/app
...@@ -184,6 +185,7 @@ pkg/util/json ...@@ -184,6 +185,7 @@ pkg/util/json
pkg/util/limitwriter pkg/util/limitwriter
pkg/util/logs pkg/util/logs
pkg/util/maps pkg/util/maps
pkg/util/metrics
pkg/util/replicaset pkg/util/replicaset
pkg/util/validation/field pkg/util/validation/field
pkg/util/workqueue pkg/util/workqueue
...@@ -213,6 +215,7 @@ plugin/pkg/auth/authenticator/password ...@@ -213,6 +215,7 @@ plugin/pkg/auth/authenticator/password
plugin/pkg/auth/authenticator/password/allow plugin/pkg/auth/authenticator/password/allow
plugin/pkg/auth/authenticator/request/basicauth plugin/pkg/auth/authenticator/request/basicauth
plugin/pkg/auth/authenticator/request/union plugin/pkg/auth/authenticator/request/union
plugin/pkg/auth/authenticator/request/x509
plugin/pkg/auth/authorizer plugin/pkg/auth/authorizer
plugin/pkg/auth/authorizer/rbac/bootstrappolicy plugin/pkg/auth/authorizer/rbac/bootstrappolicy
plugin/pkg/client/auth plugin/pkg/client/auth
......
...@@ -34,7 +34,7 @@ const ( ...@@ -34,7 +34,7 @@ const (
var ( var (
metricsLock sync.Mutex metricsLock sync.Mutex
rateLimiterMetrics map[string]prometheus.Gauge = make(map[string]prometheus.Gauge) rateLimiterMetrics = make(map[string]prometheus.Gauge)
) )
func registerRateLimiterMetric(ownerName string) error { func registerRateLimiterMetric(ownerName string) error {
......
...@@ -52,6 +52,8 @@ func TestCloneTLSConfig(t *testing.T) { ...@@ -52,6 +52,8 @@ func TestCloneTLSConfig(t *testing.T) {
// These fields are not copied // These fields are not copied
"SessionTicketsDisabled", "SessionTicketsDisabled",
"SessionTicketKey", "SessionTicketKey",
"DynamicRecordSizingDisabled",
"Renegotiation",
// These fields are unexported // These fields are unexported
"serverInitOnce", "serverInitOnce",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment