mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 09:51:23 +00:00
fix namespace will match all empty namespace
This commit is contained in:
@@ -164,6 +164,12 @@ func TestFindPatchTargets(t *testing.T) {
|
||||
},
|
||||
count: 2,
|
||||
},
|
||||
{
|
||||
target: types.Selector{
|
||||
Namespace: "foo",
|
||||
},
|
||||
count: 0,
|
||||
},
|
||||
}
|
||||
for _, testcase := range testcases {
|
||||
actual, err := rm.Select(testcase.target)
|
||||
|
||||
Reference in New Issue
Block a user