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

Remove MetaClient.Ping from /ping and move it to /status #5459

Merged
merged 2 commits into from
Jan 27, 2016

Conversation

toddboom
Copy link
Contributor

No description provided.

@jwilder
Copy link
Contributor

jwilder commented Jan 27, 2016

👍


// serveStatus returns a simple response to let the client know the whole cluster is running.
func (h *Handler) serveStatus(w http.ResponseWriter, r *http.Request) {
h.statMap.Add(statPingRequest, 1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: This should probably be a different constant. statStatusRequest perhaps?

@corylanou
Copy link
Contributor

minor nit, otherwise +1

@toddboom
Copy link
Contributor Author

@corylanou good call, fixed - thanks!

toddboom added a commit that referenced this pull request Jan 27, 2016
Remove MetaClient.Ping from `/ping` and move it to `/status`
@toddboom toddboom merged commit 308323f into master Jan 27, 2016
@toddboom toddboom deleted the tp-ping-to-status branch January 27, 2016 02:26
@jwilder jwilder added this to the 0.10.0 milestone Feb 1, 2016
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.

3 participants