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

Commit fb4ac31

Browse files
authored
fix: patch config-ssh warning msg (#217)
1 parent 2136d8d commit fb4ac31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/coderutil/env.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type EnvWithPool struct {
3636

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

0 commit comments

Comments
 (0)