Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed Sep 13, 2024
1 parent 0d379c5 commit 7002e04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (z *ZVM) Install(version string) error {
zigArch, zigOS := zigStyleSysInfo()
log.Debug("tarPath", "url", tarPath)

tarResp, err := requestWithMirror(tarPath)
tarResp, err := reqZigDownload(tarPath)
if err != nil {
return err
}
Expand Down Expand Up @@ -197,7 +197,9 @@ func (z *ZVM) Install(version string) error {

return nil
}
func requestWithMirror(tarURL string) (*http.Response, error) {

// reqZigDownload HTTP requests Zig downloads from the official site and mirrors
func reqZigDownload(tarURL string) (*http.Response, error) {
log.Debug("requestWithMirror", "tarURL", tarURL)

tarResp, err := attemptDownload(tarURL)
Expand Down

0 comments on commit 7002e04

Please sign in to comment.