Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Set auto upgrade to false when doing dev mode
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Shepherd <darren@acorn.io>
  • Loading branch information
ibuildthecloud committed Jul 10, 2023
1 parent 651aea1 commit 34567e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/dev/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ func updateApp(ctx context.Context, c client.Client, appName string, client v1.D
update.DeployArgs = deployArgs
update.Replace = opts.Replace
update.Stop = new(bool)
logrus.Infof("Updating app [%s] to image [%s]", appName, image)
update.AutoUpgrade = new(bool)
logrus.Infof("Updating acorn [%s] to image [%s]", appName, image)
app, err := rulerequest.PromptUpdate(ctx, c, opts.Dangerous, appName, update)
if err != nil {
return "", err
Expand Down

0 comments on commit 34567e9

Please sign in to comment.