-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples: fix flag syntax for zkctl #14469
Conversation
Signed-off-by: deepthi <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
We don't seem to run local example with zookeeper in CI. If we did, we might have caught this.
|
Signed-off-by: deepthi <[email protected]>
Code looks like this:
So it considers the default to be |
@@ -8,7 +8,7 @@ jobs: | |||
runs-on: gh-hosted-runners-16cores-1 | |||
strategy: | |||
matrix: | |||
topo: [consul,etcd,k8s] | |||
topo: [consul,etcd,zk2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that’s why we didn’t notice 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the local k8s example from the required checks for main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we want to make the zk2 one required? Wasn’t sure about that.
Signed-off-by: deepthi <[email protected]>
Signed-off-by: deepthi <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Signed-off-by: deepthi <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com> Co-authored-by: deepthi <[email protected]>
Signed-off-by: deepthi <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com> Co-authored-by: deepthi <[email protected]>
Signed-off-by: deepthi <[email protected]>
Description
Running the local example with
TOPO=zk2
fails with an error from zkctl startup.This is because we changed flags to use
--
instead of-
back in v16.This was broken at least on main, most likely on 17, and probably on v16 as well.
Related Issue(s)
Fixes #14471
Checklist
Deployment Notes