Skip to content

Commit ec338b4

Browse files
committed
fixup! Consolidate Result and ResultV2 types for GA
Remove undocumented .Changed.ImageResult field mentions from docs Signed-off-by: cappyzawa <[email protected]>
1 parent 722ad99 commit ec338b4

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

api/v1beta2/git.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ type CommitSpec struct {
6666
// MessageTemplate provides a template for the commit message,
6767
// into which will be interpolated the details of the change made.
6868
// Note: The `Updated` template field has been removed. Use `Changed` instead.
69-
// Note: The `.Changed.ImageResult` template field has been removed. Use `.Changed.FileChanges`,
70-
// `.Changed.Objects`, or `.Changed.Changes` instead.
7169
// +optional
7270
MessageTemplate string `json:"messageTemplate,omitempty"`
7371

docs/spec/v1beta2/imageupdateautomations.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,6 @@ including partial updates to just the image name or the tag, not just full image
380380
with name and tag update. Templates using `Updated` will result in an error and
381381
the ImageUpdateAutomation will be marked as Stalled.
382382

383-
**Removal Note:** The `.Changed.ImageResult` field has been removed from the API.
384-
Use the following alternatives:
385-
- `.Changed.ImageResult.Files` → `.Changed.FileChanges`
386-
- `.Changed.ImageResult.Images` → `.Changed.Changes` (iterate to get image values)
387-
- `.Changed.ImageResult.Objects` → `.Changed.Objects`
388-
Templates using `.Changed.ImageResult` will result in an error and the ImageUpdateAutomation will be marked as Stalled.
389383

390384
The message template also has access to the data related to the changes made by
391385
the automation. The template is a [Go text template][go-text-template]. The data

0 commit comments

Comments
 (0)