Skip to content

Commit 82e7204

Browse files
committed
oci-exporter: do not filter current platform on export
Signed-off-by: Tonis Tiigi <[email protected]>
1 parent cef05f1 commit 82e7204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

images/oci/exporter.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525

2626
"github.com/containerd/containerd/content"
2727
"github.com/containerd/containerd/images"
28-
"github.com/containerd/containerd/platforms"
2928
ocispecs "github.com/opencontainers/image-spec/specs-go"
3029
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
3130
"github.com/pkg/errors"
@@ -58,7 +57,7 @@ func (oe *V1Exporter) Export(ctx context.Context, store content.Provider, desc o
5857
}
5958

6059
handlers := images.Handlers(
61-
images.FilterPlatforms(images.ChildrenHandler(store), platforms.Default()),
60+
images.ChildrenHandler(store),
6261
images.HandlerFunc(exportHandler),
6362
)
6463

0 commit comments

Comments
 (0)