Skip to content

Commit

Permalink
fix: remove the dev override of the force flag
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhertog committed Jul 21, 2020
1 parent ac11549 commit 529af6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/skaffold/app/cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,9 @@ var FlagRegistry = []Flag{
},
{
Name: "force",
Usage: "Recreate Kubernetes resources if necessary for deployment, warning: might cause downtime! (true by default for `skaffold dev`)",
Usage: "Recreate Kubernetes resources if necessary for deployment, warning: might cause downtime!",
Value: &opts.Force,
DefValue: false,
DefValuePerCommand: map[string]interface{}{
"dev": true,
},
FlagAddMethod: "BoolVar",
DefinedOn: []string{"deploy", "dev", "run", "debug"},
},
Expand Down

0 comments on commit 529af6f

Please sign in to comment.