Skip to content

Commit

Permalink
get rid of --skip-health-checks on fly deploy; use --detach in its place
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdfly authored and dangra committed Jan 25, 2023
1 parent a4b895e commit 292be0c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/command/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ var CommonFlags = flag.Set{
Name: "auto-confirm",
Description: "Will automatically confirm changes when running non-interactively.",
},
flag.Bool{
Name: "skip-health-checks",
Description: "Skip waiting for health checks on VM updates. (Machines only)",
Default: false,
},
}

func New() (cmd *cobra.Command) {
Expand Down Expand Up @@ -141,7 +136,7 @@ func DeployWithConfig(ctx context.Context, appConfig *app.Config) (err error) {
md, err := NewMachineDeployment(ctx, MachineDeploymentArgs{
Strategy: flag.GetString(ctx, "strategy"),
AutoConfirmMigration: autoConfirm,
SkipHealthChecks: flag.GetBool(ctx, "skip-health-checks"),
SkipHealthChecks: flag.GetDetach(ctx),
})
if err != nil {
return err
Expand Down

0 comments on commit 292be0c

Please sign in to comment.