From 7b61eba47159748bcfc35227a13e31c899a84e49 Mon Sep 17 00:00:00 2001 From: Jitang Lei Date: Thu, 8 Aug 2024 20:28:01 +0800 Subject: [PATCH] server/download.go: Fix a typo in log Signed-off-by: Jitang Lei --- server/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/download.go b/server/download.go index 38d24a6b..cf31df5e 100644 --- a/server/download.go +++ b/server/download.go @@ -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