Merge pull request #537 from jmorganca/mxyng/upload
fix error on upload chunk
This commit is contained in:
commit
c345053a8b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue