If resumable digest support is disabled, detct this when closing the blobwriter
and allow the close to continue. Also update the name of the function. Signed-off-by: Richard Scothern <richard.scothern@docker.com>
This commit is contained in:
parent
22e8510f3f
commit
d2e5d5c22c
3 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
// resumeHashAt is a noop when resumable digest support is disabled.
|
||||
func (bw *blobWriter) resumeDigestAt(ctx context.Context, offset int64) error {
|
||||
func (bw *blobWriter) resumeDigest(ctx context.Context) error {
|
||||
return errResumableDigestNotAvailable
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue