mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-08 18:15:48 +00:00
fixed return
This commit is contained in:
parent
b7524467a3
commit
4f8a765ce1
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ func (o *Controller) ParseCRD(crd unstructured.Unstructured) {
|
|||
if v3valueFound == false {
|
||||
log.Log.Error(err, "could not parse crd schema", "name", crdName)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
o.crdList = append(o.crdList, crdName)
|
||||
|
|
Loading…
Add table
Reference in a new issue