feat: add helm to go mod (#497)

This commit is contained in:
naison
2025-03-30 11:52:21 +08:00
committed by GitHub
parent a030dc582b
commit d191c927f4
2687 changed files with 190853 additions and 78174 deletions

View File

@@ -168,7 +168,7 @@ func loadHTTPBytes(timeout time.Duration) func(path string) ([]byte, error) {
}
if resp.StatusCode != http.StatusOK {
return nil, fmt.Errorf("could not access document at %q [%s] ", path, resp.Status)
return nil, fmt.Errorf("could not access document at %q [%s]: %w", path, resp.Status, ErrLoader)
}
return io.ReadAll(resp.Body)