fix unsupported bug

This commit is contained in:
Sandeep Rajan 2020-02-27 10:39:47 -05:00
parent 650220fa64
commit da8453af6e

View File

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