-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: cleanup unused functions in the resources #6473
chore: cleanup unused functions in the resources #6473
Conversation
/kind cleanup |
Hi @l-qing. 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. |
The following is the coverage report on the affected files.
|
@@ -71,29 +71,6 @@ func validateArrayResultsIndex(allResolvedResultRefs ResolvedResultRefs) (Resolv | |||
return allResolvedResultRefs, "", nil | |||
} | |||
|
|||
// extractResultRefs resolves any ResultReference that are found in param or pipeline result | |||
// Returns nil if none are found | |||
func extractResultRefsForParam(pipelineRunState PipelineRunState, param v1beta1.Param) (ResolvedResultRefs, error) { |
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.
These two functions are currently not being used except for unit testing, so they can be cleaned up.
/ok-to-test |
The following is the coverage report on the affected files.
|
pkg/reconciler/pipelinerun/resources/resultrefresolution_test.go
Outdated
Show resolved
Hide resolved
Thanks for the cleanup @l-qing , can we have a bit more clarification on the PR title ie. PipelineRun Reconciler Resources? might be helpful to also include some commit message for details. |
4f97585
to
6b1fc7e
Compare
/retest |
6b1fc7e
to
f255ec4
Compare
/retest |
f255ec4
to
60de20d
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
60de20d
to
e93420d
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
These functions are no longer needed after the previous refactoring, so they can be cleaned up.
e93420d
to
83e7c99
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
[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 |
/auto-cc |
/assign |
/lgtm |
Thank you for your comment. @JeromeJu |
Changes
These functions are no longer needed after the previous refactoring, so they can be cleaned up.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes