mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
added test case for no values
This commit is contained in:
@@ -393,7 +393,7 @@ func (f FieldMatcher) Filter(rn *RNode) (*RNode, error) {
|
||||
return rn, nil
|
||||
}
|
||||
return nil, nil
|
||||
case f.Value.YNode() != nil && rn.value.Value == f.Value.YNode().Value:
|
||||
case GetValue(rn) == GetValue(f.Value):
|
||||
return rn, nil
|
||||
default:
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user