Skip to content
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

Rules type must implement Rule interface #6217

Closed
wants to merge 1 commit into from

Conversation

jbartosik
Copy link
Collaborator

The interface changed in #6196 but the Rules class didn't

/kind bug
/kind cleanup

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/cluster-autoscaler labels Oct 23, 2023
@k8s-ci-robot k8s-ci-robot requested review from feiskyer and x13n October 23, 2023 15:12
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jbartosik
Once this PR has been reviewed and has the lgtm label, please assign towca for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

The interface changed in kubernetes#6196 but the Rules class didn't
@x13n
Copy link
Member

x13n commented Oct 24, 2023

I don't think Rules has to implement the Rule interface at all - it represents a collection, so adding a name seems quite artificial.

@jbartosik
Copy link
Collaborator Author

I don't think Rules has to implement the Rule interface at all - it represents a collection, so adding a name seems quite artificial.

It already implements Drainable which looks to me like it's more of a composite rule than a collection of rules

@x13n
Copy link
Member

x13n commented Nov 14, 2023

The fact the it did implement the interface before doesn't imply we want it to continue doing so.

/close

@k8s-ci-robot
Copy link
Contributor

@x13n: Closed this PR.

In response to this:

The fact the it did implement the interface before doesn't imply we want it to continue doing so.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants