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 global map from healthz #5677

Merged
merged 1 commit into from
Mar 20, 2015

Conversation

smarterclayton
Copy link
Contributor

It currently is impossible to use two different healthz handlers on different ports in the same process. This removes the global variables in favor of requiring the consumer to specify all health checks up front.

As mentioned #4646 (comment)

@mikedanese

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@vmarmol vmarmol self-assigned this Mar 19, 2015
@vmarmol
Copy link
Contributor

vmarmol commented Mar 19, 2015

LGTM, thanks @smarterclayton! Will merge on green.

@vmarmol vmarmol added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 19, 2015
@smarterclayton
Copy link
Contributor Author

Looks like I missed adding the magic globals.

It currently is impossible to use two healthz handlers on different
ports in the same process.  This removes the global variables in favor
of requiring the consumer to specify all health checks up front.
@smarterclayton smarterclayton force-pushed the remove_healthz_global branch from 31692a6 to 015bc3b Compare March 19, 2015 23:49
@smarterclayton
Copy link
Contributor Author

Sorry, fixed now.

@vmarmol
Copy link
Contributor

vmarmol commented Mar 20, 2015

Oops, sorry I missed this :) merging now.

vmarmol added a commit that referenced this pull request Mar 20, 2015
@vmarmol vmarmol merged commit e94c5c3 into kubernetes:master Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants