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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy