fix error message in ModuleName

This commit is contained in:
Shawn Smith
2022-02-11 18:18:49 +09:00
parent 1e7fba6f6d
commit e4ed167d86

View File

@@ -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")