소스 검색

Merge pull request #6258 from coolljt0725/fix_typo

server/download.go: Fix a typo in log
Jesse Gross 9 달 전
부모
커밋
9b53e39d8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/download.go

+ 1 - 1
server/download.go

@@ -233,7 +233,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