Skip to content

Use metav1.GetControllerOf consistently. - #1172

Merged
google-prow-robot merged 1 commit into
knative:masterfrom
mattmoor:get-controller-of
Jun 12, 2018
Merged

google-prow-robot merged 1 commit into
knative:masterfrom
mattmoor:get-controller-of

Conversation

@mattmoor

Copy link
Copy Markdown
Contributor

Replaces our custom utility functions in pkg/controller with these library methods in metav1.

Fixes: #1165

This is the follow-on to the fix in #1166

Replaces our custom utility functions in `pkg/controller` with these library methods in `metav1`.

Fixes: knative/serving#1165
@google-prow-robot google-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 12, 2018
@knative-metrics-robot

Copy link
Copy Markdown

The following is the coverage report on pkg/. Say /test pull-knative-serving-go-coverage to run the coverage report again

File Old Coverage New Coverage Delta
pkg/controller/configuration/configuration.go 77.5% 77.7% 0.2
pkg/controller/route/route.go 78.2% 78.1% -0.2
pkg/controller/revision/pod.go 92.0% 92.9% 0.9

*TestCoverage feature is being tested, do not rely on any info here yet

@vaikas

vaikas commented Jun 12, 2018

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 12, 2018
@google-prow-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor, vaikas-google

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-metrics-robot

Copy link
Copy Markdown

The following is the coverage report on pkg/. Say /test pull-knative-serving-go-coverage to run the coverage report again

File Old Coverage New Coverage Delta
pkg/controller/configuration/configuration.go 77.5% 77.7% 0.2
pkg/controller/route/route.go 78.0% 78.2% 0.3
pkg/controller/revision/pod.go 94.6% 95.0% 0.4

*TestCoverage feature is being tested, do not rely on any info here yet

@google-prow-robot
google-prow-robot merged commit 71511cf into knative:master Jun 12, 2018
skonto added a commit to skonto/serving that referenced this pull request Feb 27, 2025
…native#1172)

* Fix configuration defaulting

* address comments, refactoring

* refactor

* lint

* fixes

* lint

* address comments

---------

Co-authored-by: Knative Prow Robot <[email protected]>
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. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Triage the way we look up controlling resources

5 participants