Skip to content

Commit 452fd43

Browse files
authored
Merge pull request #9316 from k8s-infra-cherrypick-robot/cherry-pick-9315-to-release-1.5
[release-1.5] 🐛 Fix tilt-prepare leader-elect setting
2 parents 1c45db7 + ce0a47a commit 452fd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/tools/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)