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

internal/controller: refactor error handling in versioned flow #262

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

datdao
Copy link
Member

@datdao datdao commented Jan 23, 2025

This pull request refactors error handling in the AtlasMigrationReconciler by consolidating repetitive error-handling code into two new helper methods, resultErr and resultCLIErr. This change simplifies the Reconcile function and makes the code more maintainable.

@datdao datdao force-pushed the d/refactoring branch 2 times, most recently from ef1ada2 to abe5ae4 Compare January 23, 2025 05:19
@datdao datdao requested a review from giautm January 23, 2025 07:23
@datdao datdao marked this pull request as ready for review January 23, 2025 07:23
@datdao datdao merged commit fab7c5b into master Jan 23, 2025
6 checks passed
@datdao datdao deleted the d/refactoring branch January 23, 2025 08:32
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.

2 participants