Skip to content

Start to clean up the NewController signature.#1195

Merged
google-prow-robot merged 1 commit into
knative:masterfrom
mattmoor:controller-options
Jun 13, 2018
Merged

Start to clean up the NewController signature.#1195
google-prow-robot merged 1 commit into
knative:masterfrom
mattmoor:controller-options

Conversation

@mattmoor
Copy link
Copy Markdown
Member

This moves the common constructor arguments into a controller.Options struct to clean up the signature of the controllers a bit.

Fixes: #1189

@google-prow-robot google-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 13, 2018
This moves the common constructor arguments into a controller.Options struct to clean up the signature of the controllers a bit.

Fixes: knative/serving#1189
@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jun 13, 2018

/lgtm
/approve

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 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/route/route.go 78.0% 78.2% 0.2
pkg/controller/route/route_test.go 78.0% 78.2% 0.2

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

@google-prow-robot google-prow-robot merged commit d192484 into knative:master Jun 13, 2018
@mattmoor mattmoor deleted the controller-options branch June 14, 2018 00:52
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants