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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix(conditions) show error message when a condition errors #470

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

dduportal
Copy link
Contributor

Not usre when this "misbehavior" was introduced but currently, conditions that fails because of an error does not show the error message.

It's not really convenient, particularly when it is a validation error 馃槄

This PR fixes the print of error message (minor cleanups around happy path / string comparisons)

Test

To test this pull request, you can run the following commands:

make build
make test
make test-e2e

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal added the bug Something isn't working label Jan 16, 2022
@dduportal dduportal added the condition Modify condition resource label Jan 16, 2022
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@olblak olblak merged commit db224e9 into updatecli:main Jan 17, 2022
@dduportal dduportal deleted the hotfix/condition-error-message branch January 23, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working condition Modify condition resource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants