Skip to content

Commit 87f7d52

Browse files
committed
chunked: use fallback mechanism on non-linux platforms
inform the caller to fallback to an ordinary copy when not running on Linux. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
1 parent 80d3c0e commit 87f7d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/chunked/storage_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ import (
1313

1414
// GetDiffer returns a differ than can be used with ApplyDiffWithDiffer.
1515
func GetDiffer(ctx context.Context, store storage.Store, blobDigest digest.Digest, blobSize int64, annotations map[string]string, iss ImageSourceSeekable) (graphdriver.Differ, error) {
16-
return nil, errors.New("format not supported on this system")
16+
return nil, newErrFallbackToOrdinaryLayerDownload(errors.New("format not supported on this system"))
1717
}

0 commit comments

Comments
 (0)