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

Remove occurences of conditions.WithStepCounterIf(false) #9754

Closed
CecileRobertMichon opened this issue Nov 21, 2023 · 10 comments · Fixed by #9772
Closed

Remove occurences of conditions.WithStepCounterIf(false) #9754

CecileRobertMichon opened this issue Nov 21, 2023 · 10 comments · Fixed by #9772
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@CecileRobertMichon
Copy link
Contributor

conditions.WithStepCounterIf(false) doesn't seem to do anything as we always pass in false (?)
If I'm right, let's get rid of all other occurences of this (ideally in a separate PR I think)

Following up from @sbueringer's comment in #9725, we should check if we can remove all occurrences of WithStepCounterIf when the bool parameter is hardcoded to false.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 21, 2023
@sbueringer
Copy link
Member

/triage accepted

/help

@k8s-ci-robot
Copy link
Contributor

@sbueringer:
This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/triage accepted

/help

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.

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 22, 2023
@mcbenjemaa
Copy link
Member

/assign

@CecileRobertMichon
Copy link
Contributor Author

@mcbenjemaa there are a couple more occurrences of conditions.WithStepCounterIf(false) in the codebase, e.g. in the MachinePool controller, do you want to take a stab at removing those as well?

/reopen

@k8s-ci-robot k8s-ci-robot reopened this Nov 27, 2023
@k8s-ci-robot
Copy link
Contributor

@CecileRobertMichon: Reopened this issue.

In response to this:

@mcbenjemaa there are a couple more occurrences of conditions.WithStepCounterIf(false) in the codebase, e.g. in the MachinePool controller, do you want to take a stab at removing those as well?

/reopen

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.

@mcbenjemaa
Copy link
Member

I will take a look.

@sbueringer
Copy link
Member

@CecileRobertMichon Are you sure? I checked during review and now again and I can't find them.

@mcbenjemaa
Copy link
Member

The hardcoded conditions are removed, but do you mean replacing the other ones?

@CecileRobertMichon
Copy link
Contributor Author

Oh I guess it's because #9725 hasn't merged yet...

I can remove the occurrence it's adding in the PR then, all good! Thank you @mcbenjemaa

/close

@k8s-ci-robot
Copy link
Contributor

@CecileRobertMichon: Closing this issue.

In response to this:

Oh I guess it's because #9725 hasn't merged yet...

I can remove the occurrence it's adding in the PR then, all good! Thank you @mcbenjemaa

/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
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants