Skip to content

fix: prevent data race on enum choices #9

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

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Mar 19, 2024

Because we pass codersdk.PostgresAuthDrivers into multiple tests in coder we need to copy this slice or we run into data races.

@f0ssel f0ssel requested review from ammario and Emyrk March 19, 2024 16:17
@f0ssel f0ssel merged commit 00b6c3f into main Mar 19, 2024
@f0ssel f0ssel deleted the f0ssel/data-race-enum branch March 19, 2024 16:18
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