mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
in plugin executor remove unnecessary code and improve error messages
This commit is contained in:
@@ -72,7 +72,7 @@ data:
|
||||
if err == nil {
|
||||
t.Fatalf("expected an error")
|
||||
}
|
||||
if !strings.Contains(err.Error(), "data: Invalid type.") {
|
||||
t.Fatalf("incorrect error %v", err)
|
||||
if !strings.Contains(err.Error(), "failure in plugin configured via") {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user