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

Simplify naming for condition #231

Conversation

clobrano
Copy link
Contributor

@clobrano clobrano commented Jul 5, 2024

Why we need this PR

Currently when SNR is disabled because of missing configuration, the
condition's reason is "SNRDisabledConfigurationNotFound", however

  • we already know it's about SNR
  • we know, from the type, that is about "Disable"

Changes made

Which issue(s) this PR fixes

https://issues.redhat.com/browse/ECOPROJECT-2026

Test plan

Currently when SNR is disabled because of missing configuration, the
condition's reason is "SNRDisabledConfigurationNotFound", however

- we already know it's about SNR
- we know, from the type, that is about "Disable"

so we can simplify the `reason` to "ConfigurationNotFound".

ECOPROJECT-2026

Signed-off-by: Carlo Lobrano <[email protected]>
Copy link
Contributor

openshift-ci bot commented Jul 5, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the approved label Jul 5, 2024
@clobrano
Copy link
Contributor Author

clobrano commented Jul 5, 2024

/test 4.15-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Jul 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano, slintes

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@clobrano clobrano marked this pull request as ready for review July 5, 2024 14:49
@openshift-ci openshift-ci bot requested review from mshitrit and razo7 July 5, 2024 14:49
@clobrano
Copy link
Contributor Author

clobrano commented Jul 5, 2024

/cherry-pick release-0.9

@openshift-cherrypick-robot

@clobrano: once the present PR merges, I will cherry-pick it on top of release-0.9 in a new PR and assign it to you.

In response to this:

/cherry-pick release-0.9

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-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 680b030 into medik8s:main Jul 5, 2024
26 checks passed
@openshift-cherrypick-robot

@clobrano: new pull request created: #232

In response to this:

/cherry-pick release-0.9

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-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants