retry PUT
This commit is contained in:
parent
12efcbb057
commit
186f685224
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ func (b *blobUpload) Run(ctx context.Context, opts *RegistryOptions) {
|
||||||
headers.Set("Content-Type", "application/octet-stream")
|
headers.Set("Content-Type", "application/octet-stream")
|
||||||
headers.Set("Content-Length", "0")
|
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 {
|
if err != nil {
|
||||||
b.err = err
|
b.err = err
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue