mirror of
https://github.com/distribution/distribution
synced 2025-02-23 06:49:36 +01:00

and allow the close to continue. Also update the name of the function. Signed-off-by: Richard Scothern <richard.scothern@docker.com>
18 lines
453 B
Go
18 lines
453 B
Go
// +build noresumabledigest
|
|
|
|
package storage
|
|
|
|
import (
|
|
"github.com/docker/distribution/context"
|
|
)
|
|
|
|
// resumeHashAt is a noop when resumable digest support is disabled.
|
|
func (bw *blobWriter) resumeDigest(ctx context.Context) error {
|
|
return errResumableDigestNotAvailable
|
|
}
|
|
|
|
// storeHashState is a noop when resumable digest support is disabled.
|
|
func (bw *blobWriter) storeHashState(ctx context.Context) error {
|
|
return errResumableDigestNotAvailable
|
|
}
|