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

Commit d9cbba1

Browse files
committed
Improve handling of coder envs stop errors
1 parent 22ae5cb commit d9cbba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/envs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ coder envs --user charlie@coder.com ls -o json \
9595
egroup.Go(func() error {
9696
env, err := findEnv(cmd.Context(), client, envName, *user)
9797
if err != nil {
98-
flog.Error("failed to find environment by name \"%s\": %v", env.Name, err)
98+
flog.Error("failed to find environment by name \"%s\": %v", envName, err)
9999
return xerrors.Errorf("find environment by name: %w", err)
100100
}
101101

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