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

chore: Refactor launchHandler.ServeHTTP #162

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

zerok
Copy link
Contributor

@zerok zerok commented Jul 8, 2024

This should make the whole implementation more readable and also reduce the cyclomatic complexity. The price is having another struct with some internal state.

@zerok zerok requested review from julienduchesne and a team as code owners July 8, 2024 12:26
Copy link
Member

@julienduchesne julienduchesne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pkg/handlers/launch.go Outdated Show resolved Hide resolved
This should make the whole implementation more readable and also reduce
the cyclomatic complexity.
@zerok zerok force-pushed the zerok/refactor-launch-servehttp branch from f4892c4 to 704fa07 Compare July 11, 2024 07:31
@zerok zerok changed the title fix: Refactor launchHandler.ServeHTTP chore: Refactor launchHandler.ServeHTTP Jul 11, 2024
@zerok zerok merged commit 3eb0119 into main Jul 11, 2024
6 checks passed
@zerok zerok deleted the zerok/refactor-launch-servehttp branch July 11, 2024 07:45
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