mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Rename id annotations to build annotations.
This commit is contained in:
@@ -127,7 +127,7 @@ func (th Harness) AssertActualEqualsExpected(
|
||||
}
|
||||
|
||||
func (th Harness) AssertActualEqualsExpectedNoIdAnnotations(m resmap.ResMap, expected string) {
|
||||
m.RemoveIdAnnotations()
|
||||
m.RemoveBuildAnnotations()
|
||||
th.AssertActualEqualsExpectedWithTweak(m, nil, expected)
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ func (th *HarnessEnhanced) LoadAndRunGenerator(
|
||||
if err != nil {
|
||||
th.t.Fatalf("Err: %v", err)
|
||||
}
|
||||
rm.RemoveIdAnnotations()
|
||||
rm.RemoveBuildAnnotations()
|
||||
return rm
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user