From b6f1908f823a22ce0a36f740b172ad6f910de587 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/internal/tilt-prepare/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/tools/internal/tilt-prepare/main.go b/hack/tools/internal/tilt-prepare/main.go index 277fa4710a71..8bf3f2973812 100644 --- a/hack/tools/internal/tilt-prepare/main.go +++ b/hack/tools/internal/tilt-prepare/main.go @@ -806,7 +806,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) }