Merge pull request #4344 from natasha41575/ResIdStr

improve gvk and resid strings for error messages
This commit is contained in:
Kubernetes Prow Robot
2021-12-22 12:27:03 -08:00
committed by GitHub
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)
}
}