Skip to content

Commit

Permalink
fix regression: app arg should override app in config (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkurt committed Jun 26, 2022
1 parent 8b91e6c commit 71aecdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func determineImage(ctx context.Context, appConfig *app.Config) (img *imgsrc.Dep
daemonType := imgsrc.NewDockerDaemonType(!flag.GetRemoteOnly(ctx), !flag.GetLocalOnly(ctx))

var appName string = app.NameFromContext(ctx)
if appConfig.AppName != "" {
if appConfig.AppName != "" && appName == "" {
appName = appConfig.AppName
}

Expand Down

0 comments on commit 71aecdc

Please sign in to comment.