Merge pull request #88623 from rajansandeep/unsupportedbug

[kubeadm]: Fix CoreDNS unsupported preflight check
This commit is contained in:
Kubernetes Prow Robot
2020-02-27 09:45:27 -08:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ func checkUnsupportedPlugins(client clientset.Interface) error {
if err != nil { if err != nil {
return err return err
} }
if unsupportedCoreDNS != nil { if len(unsupportedCoreDNS) != 0 {
var UnsupportedPlugins []string var UnsupportedPlugins []string
for _, unsup := range unsupportedCoreDNS { for _, unsup := range unsupportedCoreDNS {
UnsupportedPlugins = append(UnsupportedPlugins, unsup.ToString()) UnsupportedPlugins = append(UnsupportedPlugins, unsup.ToString())