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
Pass DeleteOptions down to the Reactor #102945
Conversation
Hi @chenchun. Thanks for your PR. I'm waiting for a kubernetes 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. |
/assign @caesarxuchao |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/assign |
/remove-lifecycle stale |
$if .namespaced$Invokes($.NewDeleteAction|raw$($.type|allLowercasePlural$Resource, c.ns, name, &opts), &$.type|raw${}) | ||
$else$Invokes($.NewRootDeleteAction|raw$($.type|allLowercasePlural$Resource, name, &opts), &$.type|raw${})$end$ |
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.
This needs to pass in a nil
when opts
is the zero value of the struct.
I expect a lot of unit tests to fail because of #102945 (comment) /ok-to-test |
79bf20b
to
9c03ae4
Compare
@enj Thanks for review. Previously lots of tests failed because I added a DeleteOptions param to NewDeleteAction and forgot to change all places to add a nil input param. I updated PR to add a new func NewDeleteActionWithOptions instead to fix the falling tests. |
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.
Minor stuff.
staging/src/k8s.io/code-generator/cmd/client-gen/generators/fake/generator_fake_for_type.go
Show resolved
Hide resolved
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.
Just some extraneous whitespace.
This LGTM once the whitespace is sorted. Assigning to Jordan for review/approval since this touches generated code all over the codebase. /assign @liggitt |
/retest-required |
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.
one nit on the uid used in the test, lgtm otherwise
Co-authored-by: Mo Khan <theenjeru@gmail.com>
/lgtm |
/milestone v1.23 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chenchun, liggitt 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #102798
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: