mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Break the dep between fs and pgmconfig.
This commit is contained in:
@@ -600,11 +600,6 @@ func addNamespace(namespace string, base string) string {
|
||||
return res
|
||||
}
|
||||
|
||||
// unExpectedError function handles unexpected error
|
||||
func unExpectedError(t *testing.T, name string, err error) {
|
||||
t.Fatalf("%q; - unexpected error %v", name, err)
|
||||
}
|
||||
|
||||
// compareExpectedError compares the expectedError and the actualError return by GetFieldValue
|
||||
func compareExpectedError(t *testing.T, name string, err error, errorMsg string) {
|
||||
if err == nil {
|
||||
@@ -854,7 +849,7 @@ metadata:
|
||||
name: notImportantHere
|
||||
paths:
|
||||
`
|
||||
for idx, _ := range patches {
|
||||
for idx := range patches {
|
||||
config = fmt.Sprintf("%s\n- ./patch%d.yaml", config, idx)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user