Unverified Commit c345053a authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #537 from jmorganca/mxyng/upload

fix error on upload chunk
parents bc9573dc 08d7c2a9
...@@ -78,6 +78,8 @@ func uploadBlobChunked(ctx context.Context, requestURL *url.URL, layer *Layer, r ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment