Merge pull request #975 from jmorganca/mxyng/downloads

update downloads to use retry wrapper
This commit is contained in:
Michael Yang
2023-11-02 16:12:48 -07:00
committed by GitHub
5 changed files with 24 additions and 39 deletions

View File

@@ -72,7 +72,7 @@ func ClientFromEnvironment() (*Client, error) {
},
}
mockRequest, err := http.NewRequest("HEAD", client.base.String(), nil)
mockRequest, err := http.NewRequest(http.MethodHead, client.base.String(), nil)
if err != nil {
return nil, err
}