From 889b2ae201e3440389534666abd6e7542d50be82 Mon Sep 17 00:00:00 2001 From: Etienne Maheux Date: Wed, 23 Sep 2026 11:40:27 +0200 Subject: [PATCH] cvdr list: fix wrong error displayed --- pkg/cli/cvd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/cvd.go b/pkg/cli/cvd.go index 5116900e..0edb0927 100644 --- a/pkg/cli/cvd.go +++ b/pkg/cli/cvd.go @@ -507,7 +507,7 @@ func listCVDs(srvClient client.Client, controlDir string) ([]*RemoteHost, error) hostName := hosts[i] listResult := <-ch if listResult.Error != nil { - merr = multierror.Append(merr, fmt.Errorf("lists cvds for host %q failed: %w", hostName, err)) + merr = multierror.Append(merr, fmt.Errorf("lists cvds for host %q failed: %w", hostName, listResult.Error)) continue } srvURL, err := srvClient.HostServiceURL(hostName)