-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Embed ssa.FilterObjectInput into HelperOption to remove duplication #9512
🌱 Embed ssa.FilterObjectInput into HelperOption to remove duplication #9512
Conversation
Hi @musaprg. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
/cc ykakarap |
37dead9
to
96ca56a
Compare
/kind cleanup |
/area util |
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.
/area clusterclass
/ok-to-test
HelperOption defines the same fields as ssa.FilterObjectInput, which is redundant. This commit removes its duplication and embed ssa.FilterObjectInput into HelperOption instead.
96ca56a
to
6cf2e16
Compare
/test help |
@chrischdi: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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. |
/test pull-cluster-api-e2e-full-main Code seems reasonable. Thx! /lgtm |
LGTM label has been added. Git tree hash: 5845495a3c74a78263fd407069b9f196a3ef5520
|
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.
/lgtm
/approve
Thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: killianmuldoon 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 |
/remove-area util |
What this PR does / why we need it:
HelperOption
is defined with the same fields as ssa.FilterObjectInput, which is redundant. This PR removes the duplication by embeddingssa.FilterObjectInput
intoHelperOption
instead.The original request of the issue is
drop HelperOptions and replace all of it uses with ssa.FilterObjectInput
, but that would introduce a lot of diffs. I'd say it would be enough to replace duplicated fields by embeddingssa.FilterObjectInput
directly, which makes the diffs small.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #8395