From c1b305772a2c2148e7f322d175c3aeeb6659cf4d Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Fri, 25 Aug 2023 15:32:39 +0100 Subject: [PATCH] Fix tilt-prepare leader-elect setting Signed-off-by: killianmuldoon --- hack/tools/tilt-prepare/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/tools/tilt-prepare/main.go b/hack/tools/tilt-prepare/main.go index a2c5ef28a56f..5aaa4e757401 100644 --- a/hack/tools/tilt-prepare/main.go +++ b/hack/tools/tilt-prepare/main.go @@ -787,7 +787,7 @@ func prepareWorkload(name, prefix, binaryName, containerName string, objs []unst debugArgs := make([]string, 0, len(args)) for _, a := range args { if a == "--leader-elect" || a == "--leader-elect=true" { - continue + a = "--leader-elect=false" } debugArgs = append(debugArgs, a) }