mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
Rename id annotations to build annotations.
This commit is contained in:
@@ -998,7 +998,7 @@ spec:
|
||||
return
|
||||
}
|
||||
assert.False(t, tc.errorExpected)
|
||||
m.RemoveIdAnnotations()
|
||||
m.RemoveBuildAnnotations()
|
||||
yml, err := m.AsYaml()
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, strings.Join(tc.expected, "---\n"), string(yml))
|
||||
@@ -1111,7 +1111,7 @@ $patch: delete
|
||||
assert.NoError(t, err, name)
|
||||
assert.NoError(t, m.ApplySmPatch(idSet, p), name)
|
||||
assert.Equal(t, tc.finalMapSize, m.Size(), name)
|
||||
m.RemoveIdAnnotations()
|
||||
m.RemoveBuildAnnotations()
|
||||
yml, err := m.AsYaml()
|
||||
assert.NoError(t, err, name)
|
||||
assert.Equal(t, tc.expected, string(yml), name)
|
||||
|
||||
Reference in New Issue
Block a user