From 529af6f2c45d8130c75db5e4f4989ea065d9a107 Mon Sep 17 00:00:00 2001 From: Andrew den Hertog Date: Tue, 21 Jul 2020 14:23:09 -0400 Subject: [PATCH] fix: remove the dev override of the force flag --- cmd/skaffold/app/cmd/flags.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/skaffold/app/cmd/flags.go b/cmd/skaffold/app/cmd/flags.go index c062ee8cbfd..bb7d8cc9124 100644 --- a/cmd/skaffold/app/cmd/flags.go +++ b/cmd/skaffold/app/cmd/flags.go @@ -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"}, },