Skip to content

Adding string methods for the sources.#170

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
shawn-hurley:bugs/issue-153
Oct 16, 2018
Merged

Adding string methods for the sources.#170
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
shawn-hurley:bugs/issue-153

Conversation

@shawn-hurley
Copy link
Copy Markdown

This will set the String method for the sources to fix #153

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 8, 2018
Comment thread pkg/source/source.go Outdated
}

func (c *Channel) String() string {
return fmt.Sprintf("channel source: %p", c)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@DirectXMan12 @droot I chose to print the pointer because I didn't know of a better field to make it identifiable and thoughts?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hmm..can't think of better alternative in this case.

Comment thread pkg/source/source.go Outdated
}

func (c *Channel) String() string {
return fmt.Sprintf("channel source: %p", c)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hmm..can't think of better alternative in this case.

@droot droot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 11, 2018
@shawn-hurley
Copy link
Copy Markdown
Author

@droot I think if this is good to merge it needs an approved label.

Are we waiting on @DirectXMan12 to take a look too?

@droot droot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 16, 2018
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: shawn-hurley

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

@k8s-ci-robot k8s-ci-robot merged commit b6fdbe1 into kubernetes-sigs:master Oct 16, 2018
justinsb pushed a commit to justinsb/controller-runtime that referenced this pull request Dec 7, 2018
DirectXMan12 pushed a commit that referenced this pull request Jan 31, 2020
Add skipmap flag to skip validation for AdditionlPropperties
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", 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.

Starting event source log for Channel contains error

3 participants