From e4ed167d863e3bdd34c3eb7149e28e390adff28a Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Fri, 11 Feb 2022 18:18:49 +0900 Subject: [PATCH] fix error message in ModuleName --- download/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download/proxy.go b/download/proxy.go index 76f1024..22b52b4 100644 --- a/download/proxy.go +++ b/download/proxy.go @@ -64,7 +64,7 @@ func (c *ProxyClient) ModuleName(path string) (string, error) { } if resp.StatusCode != http.StatusOK { - return "", fmt.Errorf("could not get latest module version from %s: %s", u, string(b)) + return "", fmt.Errorf("could not get module name from %s: %s", u, string(b)) } sp := strings.Split(string(b), "\n")