Skip to content
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 an api endpoint for getting the current leader #741

Merged
merged 2 commits into from
Nov 28, 2016

Conversation

Rob-Johnson
Copy link
Contributor

reopening after #683 was closed.

This adds a /scheduler/leader endpoint for getting the current leader.
It returns JSON in the structure of {'leader': leader}.

This adds a /scheduler/leader endpoint for getting the current leader.
It returns JSON in the structure of {'leader': leader}.
@brndnmtthws
Copy link
Member

Looks good, but could you add a note to docs/docs/api.md about the endpoint?

@brndnmtthws
Copy link
Member

Thanks!

@brndnmtthws brndnmtthws merged commit f2dfb58 into mesos:master Nov 28, 2016
hamo pushed a commit to hamo/chronos that referenced this pull request Dec 2, 2016
* add an api endpoint for getting the current leader

This adds a /scheduler/leader endpoint for getting the current leader.
It returns JSON in the structure of {'leader': leader}.

* add documentation for the /leader endpoint
brndnmtthws pushed a commit that referenced this pull request Dec 2, 2016
* add an api endpoint for getting the current leader

This adds a /scheduler/leader endpoint for getting the current leader.
It returns JSON in the structure of {'leader': leader}.

* add documentation for the /leader endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants