From 3a5fd7252690b0fa59eb597a4a8e9498ab4dfa7f Mon Sep 17 00:00:00 2001 From: Charlie Moog Date: Thu, 14 Jan 2021 22:05:17 -0600 Subject: [PATCH] fix: patch config-ssh warning msg --- internal/coderutil/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/coderutil/env.go b/internal/coderutil/env.go index 49de49fb..beefc3bc 100644 --- a/internal/coderutil/env.go +++ b/internal/coderutil/env.go @@ -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 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