Merge pull request #537 from jmorganca/mxyng/upload

fix error on upload chunk
This commit is contained in:
Michael Yang 2023-09-15 17:48:39 -07:00 committed by GitHub
commit c345053a8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,8 @@ func uploadBlobChunked(ctx context.Context, requestURL *url.URL, layer *Layer, r
Total: layer.Size, Total: layer.Size,
Completed: int(offset), Completed: int(offset),
}) })
return err
} }
offset += chunk offset += chunk