improve gvk and resid strings for error messages

This commit is contained in:
natasha41575
2021-12-21 18:58:01 -08:00
parent ec38bbeb99
commit 6dfc238aa2
14 changed files with 85 additions and 155 deletions

View File

@@ -218,7 +218,7 @@ spec:
t.Fatalf("No match should return an error")
}
if err.Error() !=
"resource with name service does not match a config with the following GVK [~G_~V_Deployment]" {
"resource with name service does not match a config with the following GVK [Deployment.[noVer].[noGrp]]" {
t.Fatalf("Unexpected error: %v", err)
}
}