replace Resource.refBy with annotations

This commit is contained in:
Natasha Sarkar
2021-06-16 17:46:40 -07:00
parent 60038d44f9
commit a84badb834
4 changed files with 53 additions and 16 deletions

View File

@@ -897,7 +897,9 @@ func TestNameReferenceClusterWide(t *testing.T) {
t.Fatalf("unexpected error: %v", err)
}
expected.RemoveBuildAnnotations()
m.RemoveBuildAnnotations()
if err = expected.ErrorIfNotEqualLists(m); err != nil {
t.Fatalf(notEqualErrFmt, err)
}