Michael Yang hai 1 ano
pai
achega
186f685224
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/upload.go

+ 1 - 1
server/upload.go

@@ -175,7 +175,7 @@ func (b *blobUpload) Run(ctx context.Context, opts *RegistryOptions) {
 	headers.Set("Content-Type", "application/octet-stream")
 	headers.Set("Content-Length", "0")
 
-	resp, err := makeRequest(ctx, "PUT", requestURL, headers, nil, opts)
+	resp, err := makeRequestWithRetry(ctx, "PUT", requestURL, headers, nil, opts)
 	if err != nil {
 		b.err = err
 		return