diff --git a/k8sdeps/kunstruct/factory.go b/k8sdeps/kunstruct/factory.go index d4f7118ca..d8871a0e1 100644 --- a/k8sdeps/kunstruct/factory.go +++ b/k8sdeps/kunstruct/factory.go @@ -117,9 +117,6 @@ func (kf *KunstructuredFactoryImpl) validate(u unstructured.Unstructured) error } func checkListItemNil(in interface{}) (bool, string) { - //if in == nil { - // return true, "" - //} switch v := in.(type) { case map[string]interface{}: for key, s := range v {