Skip to content

Commit

Permalink
refactor(controller): fix order of imageFrom() func signatures (akuit…
Browse files Browse the repository at this point in the history
…y#3000)

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
  • Loading branch information
krancour authored Nov 26, 2024
1 parent ac18cc2 commit b72be05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/directives/promotions.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ func (s *PromotionStep) GetConfig(
expr.Function(
"imageFrom",
getImageFunc(ctx, cl, promoCtx),
new(func(repoURL string) kargoapi.Image),
new(func(repoURL string, origin kargoapi.FreightOrigin) kargoapi.Image),
new(func(repoURL string) kargoapi.Image),
),
expr.Function(
"chartFrom",
Expand Down

0 comments on commit b72be05

Please sign in to comment.