-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Code cleanup for for probe/http #78031
Code cleanup for for probe/http #78031
Conversation
56f373e
to
0a50d1d
Compare
On Fri, May 17, 2019 at 07:23:23AM -0700, Kubernetes Prow Robot wrote:
[APPROVALNOTIFIER] This PR is **NOT APPROVED**
This pull-request has been approved by: *<a href="#78031#" title="Author self-approved">mattjmcnaughton</a>*
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: **dchen1107**
If they are not already assigned, you can assign the PR to them by writing `/assign @dchen1107` in a comment when ready.
The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes%2Fkubernetes).
The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)
<details open>
Needs approval from an approver in each of these files:
- **[pkg/kubelet/OWNERS](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/OWNERS)**
- **[pkg/probe/OWNERS](https://github.com/kubernetes/kubernetes/blob/master/pkg/probe/OWNERS)**
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":["dchen1107"]} -->
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#78031 (comment)
/assign @dchen1107
thanks :)
|
cc @dchen1107 mind approving when you have a sec? thanks! |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattjmcnaughton, tallclair The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Two small code cleanup changes for `probe/http`. - Tests name the `followNonLocalRedirects` variable before passing to `New`, so its clear what the boolean flag in the construct impacts. - Change import name from `httprobe` to `httpprobe` when used by `pkg/kubelet/prober/prober.go`. Establishes consistency with other uses in the repo.
0a50d1d
to
4626775
Compare
cc @tallclair mind approving again after rebase? thanks! |
/lgtm |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Two small code cleanup changes for
probe/http
.followNonLocalRedirects
variable before passing toNew
, so its clear what the boolean flag in the construct impacts.httprobe
tohttpprobe
when used bypkg/kubelet/prober/prober.go
. Establishes consistency with other usesin the repo.
Does this PR introduce a user-facing change?: