-
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
[TEP-0075] Extract out the validation of object keys #4867
[TEP-0075] Extract out the validation of object keys #4867
Conversation
63918b0
to
76d2632
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
76d2632
to
eb9e0a9
Compare
The following is the coverage report on the affected files.
|
eb9e0a9
to
502f9fe
Compare
/test pull-tekton-pipeline-go-coverage |
The following is the coverage report on the affected files.
|
502f9fe
to
6688279
Compare
The following is the coverage report on the affected files.
|
/assign ywluogg |
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.
Thanks for refactoring! LGTM mostly except for the open comment
6688279
to
839cff2
Compare
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-alpha-integration-tests |
1 similar comment
/test pull-tekton-pipeline-alpha-integration-tests |
/assign afrittoli |
839cff2
to
3698987
Compare
/test pull-tekton-pipeline-integration-tests |
/retest |
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-integration-tests |
/lgtm |
@ywluogg: changing LGTM is restricted to collaborators 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. |
/assign @jerop |
Prior to this commit, the validation against the required and provided keys for object type was part of the validateObjectUsage function. That makes the purpose of validateObjectUsage confusing. In this commit, a new helper function is created to validate that separately.
3698987
to
c2c3272
Compare
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.
Nice job Chuang!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester, ywluogg 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 |
Link this to #4723 |
/lgtm |
Changes
Prior to this commit, the validation against the required and
provided keys for object type was part of the
validateObjectUsage
function. That makes the purpose of
validateObjectUsage
confusing.In this commit, a new helper function is created to validate that
separately.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes
/kind misc