Skip to content

Make ResolveSubscriberSpec a public method#866

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
Harwayne:public-reconcile-subscriber
Mar 8, 2019
Merged

Make ResolveSubscriberSpec a public method#866
knative-prow-robot merged 1 commit into
knative:masterfrom
Harwayne:public-reconcile-subscriber

Conversation

@Harwayne
Copy link
Copy Markdown
Contributor

@Harwayne Harwayne commented Mar 7, 2019

Proposed Changes

  • Make ResolveSubscriberSpec a public method, so that it can be called by other Controllers that need to do the same resolution logic.

This is being used in #788. Moving to a separate PR for ease of review.

Release Note

NONE

…by other Controllers that need to do the same resolution logic.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Mar 7, 2019
@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 7, 2019
Copy link
Copy Markdown
Contributor

@grantr grantr left a comment

Choose a reason for hiding this comment

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

/lgtm

Minor optional suggestion: move ResolveSubscriberSpec to another package if other controllers will be using it. That makes its intended use as a generic helper method more clear to future maintainers.

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 8, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grantr, Harwayne

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

@Harwayne
Copy link
Copy Markdown
Contributor Author

Harwayne commented Mar 8, 2019

Minor optional suggestion: move ResolveSubscriberSpec to another package if other controllers will be using it. That makes its intended use as a generic helper method more clear to future maintainers.

I agree, created #867.

@knative-prow-robot knative-prow-robot merged commit fbf1647 into knative:master Mar 8, 2019
@Harwayne Harwayne deleted the public-reconcile-subscriber branch March 8, 2019 00:49
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. 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.

4 participants