Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh committed Oct 25, 2024
1 parent 0b92b0e commit 07600ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/build/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ func (ic *ImageConfiguration) SetAnnotation(k, v string) {
if ic.Annotations == nil {
ic.Annotations = make(map[string]string)
}
ic.Annotations[k] = v
for k, v := range ic.Annotations {
ic.Annotations[k] = v
}
}

func (ic *ImageConfiguration) SetAnnotationIfUnset(k, v string) {
Expand Down

0 comments on commit 07600ab

Please sign in to comment.