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

Refactor controllers and tests #20

Merged
merged 15 commits into from
Oct 6, 2024
Merged

Refactor controllers and tests #20

merged 15 commits into from
Oct 6, 2024

Conversation

DrPsychick
Copy link
Contributor

@DrPsychick DrPsychick commented Oct 5, 2024

Purpose

Make code more readable, split it into separate functions

  • use reconcile.AsReconciler
  • patch object at the end of reconciliation (via defer)
  • set error in condition
  • cover with tests

@DrPsychick DrPsychick merged commit 942acb9 into main Oct 6, 2024
3 checks passed
@DrPsychick DrPsychick deleted the refactor branch October 6, 2024 16:48
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