Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

fix: patch config-ssh warning msg #217

Merged
merged 1 commit into from
Jan 15, 2021
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion internal/coderutil/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type EnvWithPool struct {

// EnvsWithPool performs the composition of each Environment with its associated ResourcePool.
func EnvsWithPool(ctx context.Context, client *coder.Client, envs []coder.Environment) ([]EnvWithPool, error) {
pooledEnvs := make([]EnvWithPool, len(envs))
pooledEnvs := make([]EnvWithPool, 0, len(envs))
pools, err := client.ResourcePools(ctx)
if err != nil {
return nil, err
Expand Down