diff --git a/cmd/kubelet/app/server.go b/cmd/kubelet/app/server.go index 0f2f8d99a8e..1578d328a28 100644 --- a/cmd/kubelet/app/server.go +++ b/cmd/kubelet/app/server.go @@ -266,7 +266,7 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API // make the kubelet's config safe for logging config := kubeletServer.KubeletConfiguration.DeepCopy() for k := range config.StaticPodURLHeader { - config.StaticPodURLHeader[k] = []string{""} + config.StaticPodURLHeader[k] = []string{""} } // log the kubelet's config for inspection klog.V(5).Infof("KubeletConfiguration: %#v", config)