Skip to content

Commit b6f1908

Browse files
Fix tilt-prepare leader-elect setting
Signed-off-by: killianmuldoon <[email protected]>
1 parent 3cbf341 commit b6f1908

File tree

1 file changed

+1
-1
lines changed
  • hack/tools/internal/tilt-prepare

1 file changed

+1
-1
lines changed

hack/tools/internal/tilt-prepare/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ func prepareWorkload(name, prefix, binaryName, containerName string, objs []unst
806806
debugArgs := make([]string, 0, len(args))
807807
for _, a := range args {
808808
if a == "--leader-elect" || a == "--leader-elect=true" {
809-
continue
809+
a = "--leader-elect=false"
810810
}
811811
debugArgs = append(debugArgs, a)
812812
}

0 commit comments

Comments
 (0)