-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused error type CannotConvertError #4281
Conversation
It turns out running ./hack/update-deps.sh with go1.16.8 change some files in third_party/
Hi @guillaumerose. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sad we are not using them but at the same time, if we don't use it, let's remove it 馃懠馃徏
/meow
In response to this:
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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
CannotConvertError struct is never initialized, it's better to remove it. It also unveils that MarkResourceNotConvertible is unused for TaskRun and PipelineRun.
759fe30
to
10898b6
Compare
|
The following is the coverage report on the affected files.
|
/retest |
/lgtm |
/retest |
/test pull-tekton-pipeline-alpha-integration-tests |
thank you @guillaumerose for your contributions 馃檹 /test pull-tekton-pipeline-alpha-integration-tests |
one more attempt 馃 /test pull-tekton-pipeline-alpha-integration-tests |
/retest |
Changes
First commit is just a run of ./hack/update-deps.sh on my machine. It has unexpected changes. I did it with go1.16.8.
Then, when looking at reducing the visibility of ConvertErrorf to package private, I found out that CannotConvertError was not used. I propose to remove it. Although, I don't know if you consider this as an API breakage 馃檹
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes