mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #88623 from rajansandeep/unsupportedbug
[kubeadm]: Fix CoreDNS unsupported preflight check
This commit is contained in:
commit
2b9e782a62
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user