Skip to content

Use common const value for probe path#8316

Merged
knative-prow-robot merged 2 commits intoknative:masterfrom
nak3:use-const-probepath
Jun 15, 2020
Merged

Use common const value for probe path#8316
knative-prow-robot merged 2 commits intoknative:masterfrom
nak3:use-const-probepath

Conversation

@nak3
Copy link
Contributor

@nak3 nak3 commented Jun 15, 2020

Proposed Changes

Autoscaler, activator and KIngres Prober commonly use the probe path
/healthz, but they defined it in each package.

This patch adds const value for ProbePath and use it from them.

Related to #7445

/lint

Release Note

NONE

Autoscaler, activator and KIngres Prober commonly use the probe path
`/healthz`, but they defined it in each package.

This patch adds const value for ProbePath and use it from them.

Related to knative#7445
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 15, 2020
@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 15, 2020
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@nak3: 1 warning.

Details

In response to this:

Proposed Changes

Autoscaler, activator and KIngres Prober commonly use the probe path
/healthz, but they defined it in each package.

This patch adds const value for ProbePath and use it from them.

Related to #7445

/lint

Release Note

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added area/API API objects and controllers area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features labels Jun 15, 2020
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/activator/net/revision_backends.go 93.4% 92.8% -0.6
pkg/reconciler/autoscaling/kpa/scaler.go 93.9% 93.0% -0.9

Copy link
Contributor

@vagababov vagababov left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 15, 2020
Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markusthoemmes, nak3

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 15, 2020
@knative-prow-robot knative-prow-robot merged commit 3d852a7 into knative:master Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants