Skip to content

chore: increase parallelism of TestWorkspaceQuota #6710

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 5 commits into from
Mar 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Linting
  • Loading branch information
Emyrk committed Mar 21, 2023
commit 8769db02fcc1e7f8c07e8e244ea19a6f6e65aba4
2 changes: 1 addition & 1 deletion coderd/database/dbgen/take.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func takeFirstIP(values ...net.IPNet) net.IPNet {
// []any is not a comparable type.
func takeFirstSlice[T any](values ...[]T) []T {
return takeFirstF(values, func(v []T) bool {
return v != nil && len(v) != 0
return len(v) != 0
})
}

Expand Down