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

Fix ShootNotFailed extension predicate #2265

Merged
merged 1 commit into from
May 4, 2020

Conversation

rfranzke
Copy link
Member

What this PR does / why we need it:
The ShootNotFailed predicate was flawed and did not work as expected. This PR fixes this and adds proper unit tests to prevent future regressions. Detected as part of the review for #2217, thanks @ialidzhikov for spotting!

Which issue(s) this PR fixes:
Related to #2145

Special notes for your reviewer:
/cc @danielfoehrKn, probably is related to #2145 which is what you are currently looking at.

Release note:

The `ShootNotFailed` predicate in the extensions library does now work as expected.

@rfranzke
Copy link
Member Author

/kind/bug

@ghost ghost added the kind/bug Bug label Apr 30, 2020
Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only one question.

extensions/pkg/predicate/predicate_test.go Show resolved Hide resolved
Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@timuthy timuthy merged commit 071cbe1 into gardener:master May 4, 2020
@rfranzke rfranzke deleted the fix/shoot-not-failed-predicate branch May 4, 2020 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants