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

Fixes bug in computeReady function #2394

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Fixes bug in computeReady function #2394

merged 1 commit into from
Jul 1, 2022

Conversation

joshri
Copy link
Contributor

@joshri joshri commented Jul 1, 2022

computeReady in KubeStatusIndicator was not using the status field of the Condition object - tests didn't catch this because without the short prop the component renders the message no matter what, even though the wrong icon could be displayed. Added the short prop in a couple tests and am correctly testing "Not Ready" instead of the full message.

@joshri joshri added the area/ui Issues that require front-end work label Jul 1, 2022
@joshri joshri requested a review from ozamosi July 1, 2022 17:04
@joshri joshri merged commit 386bef5 into main Jul 1, 2022
@joshri joshri deleted the conditions branch July 1, 2022 17:30
@joshri joshri changed the title Fixed bug in computeReady function Fixes bug in computeReady function Jul 1, 2022
This was referenced Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues that require front-end work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants