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
fix: patch config-ssh warning msg
  • Loading branch information
cmoog committed Jan 15, 2021
commit 3a5fd7252690b0fa59eb597a4a8e9498ab4dfa7f
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