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: generated controller status handler with custom condition #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekristen
Copy link
Contributor

This fixes an issue with wrangler that if you are using a defined cond.Condition with a StatusHandler the SetStatus, Message, and SetReason and more from working.

It might not be limited to the cond.Condition usage but basically a.Condition != "" should not be triggered unless there is also an err, this adds a check for err as well.

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

Successfully merging this pull request may close these issues.

1 participant