-
Notifications
You must be signed in to change notification settings - Fork 926
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
add args commandPayload for manual failover/takeover api/cmd then pass to hooks #959
base: master
Are you sure you want to change the base?
Conversation
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.
This will only work correctly if invoked from the orchestrator cli; using the API or orchestrator-client
this has no effect. Correct?
I wonder if we can make this consistent across all methods.
yes, i know。 for orchestrator-client, not works。 "-C" ? |
For API, i should works,see https://github.com/github/orchestrator/pull/959/files#diff-fbdc8cde28a71961e53c2e83e2483c9a for now just orchestrator-client not works。 |
ignore, it's a bad idea. getopt's behavior is not consistent between macos and linux. |
@shlomi-noach i add -C --command-payload in orchestrator-client, pls review。 i also test in local, when "orchestrator-client .... --command-payload username:clj,a:b .....", |
Sorry about the delay; I expect to look into & merge a bunch of community PRs during the first two weeks of October. |
thx |
A Pull Request should be associated with an Issue.
Related issue: #955
gofmt
(please avoidgoimports
)./build.sh
go test ./go/...
cc @yangeagle