Commit 7b61eba4 authored by Jitang Lei's avatar Jitang Lei
Browse files

server/download.go: Fix a typo in log


Signed-off-by: default avatarJitang Lei <leijitang@outlook.com>
parent 5b3a21b5
......@@ -235,7 +235,7 @@ func (b *blobDownload) run(ctx context.Context, requestURL *url.URL, opts *regis
newOpts.CheckRedirect = func(req *http.Request, via []*http.Request) error {
if len(via) > 10 {
return errors.New("maxium redirects exceeded (10) for directURL")
return errors.New("maximum redirects exceeded (10) for directURL")
}
// if the hostname is the same, allow the redirect
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment