Skip to content

Commit a723462

Browse files
authored
Merge pull request #9315 from killianmuldoon/pr-tilt-leader-fix
🐛 Fix tilt-prepare leader-elect setting
2 parents 420c026 + b6f1908 commit a723462

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)