mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Issue #2381 - bug fix for unmodified found variable
This commit is contained in:
@@ -109,6 +109,7 @@ func getGroupKinds(in []*yaml.RNode) ([]metav1.GroupKind, error) {
|
|||||||
found := false
|
found := false
|
||||||
for _, gk := range groupKinds {
|
for _, gk := range groupKinds {
|
||||||
if gk.Group == gvk.Group && gk.Kind == gvk.Kind {
|
if gk.Group == gvk.Group && gk.Kind == gvk.Kind {
|
||||||
|
found = true
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user