Merge pull request #96413 from pigletfly/fix-kubelet-import
Remove duplicate import
This commit is contained in:
commit
d41f791542
@ -59,7 +59,6 @@ import (
|
||||
"k8s.io/client-go/util/connrotation"
|
||||
"k8s.io/client-go/util/keyutil"
|
||||
cloudprovider "k8s.io/cloud-provider"
|
||||
"k8s.io/component-base/cli/flag"
|
||||
cliflag "k8s.io/component-base/cli/flag"
|
||||
"k8s.io/component-base/configz"
|
||||
"k8s.io/component-base/featuregate"
|
||||
@ -1015,7 +1014,7 @@ func InitializeTLS(kf *options.KubeletFlags, kc *kubeletconfiginternal.KubeletCo
|
||||
}
|
||||
|
||||
if len(tlsCipherSuites) > 0 {
|
||||
insecureCiphers := flag.InsecureTLSCiphers()
|
||||
insecureCiphers := cliflag.InsecureTLSCiphers()
|
||||
for i := 0; i < len(tlsCipherSuites); i++ {
|
||||
for cipherName, cipherID := range insecureCiphers {
|
||||
if tlsCipherSuites[i] == cipherID {
|
||||
|
Loading…
Reference in New Issue
Block a user