Skip to content

Commit

Permalink
fix: Correctly marshal non-updated images (#203)
Browse files Browse the repository at this point in the history
Signed-off-by: jannfis <jann@mistrust.net>
  • Loading branch information
jannfis committed May 4, 2021
1 parent 50c4527 commit b47f7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/argocd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func UpdateApplication(updateConf *UpdateConfiguration, state *SyncIterationStat
// We need to explicitly set the up-to-date images in the spec too, so
// that we correctly marshal out the parameter overrides to include all
// images, regardless of those were updated or not.
err = setAppImage(&updateConf.UpdateApp.Application, updateableImage.WithTag(updateableImage.ImageTag))
err = setAppImage(&updateConf.UpdateApp.Application, applicationImage.WithTag(updateableImage.ImageTag))
if err != nil {
imgCtx.Errorf("Error while trying to update image: %v", err)
result.NumErrors += 1
Expand Down

0 comments on commit b47f7e9

Please sign in to comment.