From 87f7d5268e5a6b2a7a801243805c1330e4fe7239 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 27 Jan 2025 13:39:26 +0100 Subject: [PATCH] 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 --- pkg/chunked/storage_unsupported.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chunked/storage_unsupported.go b/pkg/chunked/storage_unsupported.go index 7be0adeb8a..fe3d36c76b 100644 --- a/pkg/chunked/storage_unsupported.go +++ b/pkg/chunked/storage_unsupported.go @@ -13,5 +13,5 @@ import ( // GetDiffer returns a differ than can be used with ApplyDiffWithDiffer. func GetDiffer(ctx context.Context, store storage.Store, blobDigest digest.Digest, blobSize int64, annotations map[string]string, iss ImageSourceSeekable) (graphdriver.Differ, error) { - return nil, errors.New("format not supported on this system") + return nil, newErrFallbackToOrdinaryLayerDownload(errors.New("format not supported on this system")) }