Skip to content

Commit

Permalink
Merge pull request #9317 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…9315-to-release-1.4

[release-1.4] 🐛 Fix tilt-prepare leader-elect setting
  • Loading branch information
k8s-ci-robot committed Aug 25, 2023
2 parents e9c0a94 + c1b3057 commit 0dc804c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/tools/tilt-prepare/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0dc804c

Please sign in to comment.