From 555947529fdc2f98e514f837ae7e31a9ad421552 Mon Sep 17 00:00:00 2001 From: Xu Yang Date: Thu, 28 Mar 2024 21:25:38 -0600 Subject: [PATCH] make necessary changes for code updates Signed-off-by: Xu Yang --- internal/pkg/oci/puller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/oci/puller.go b/internal/pkg/oci/puller.go index b86cb092..fda36036 100644 --- a/internal/pkg/oci/puller.go +++ b/internal/pkg/oci/puller.go @@ -177,8 +177,8 @@ func (p *puller) Pull(ctx context.Context, uri, dst string) (err error) { return fmt.Errorf("unable to open oci layout: %v", err) } - var mo layer.MapOptions - err = layer.UnpackRootfs(ctx, eng, dst, manifest, &mo, nil, imgSpecs.Descriptor{}) + var uo layer.UnpackOptions + err = layer.UnpackRootfs(ctx, eng, dst, manifest, &uo) if err != nil { return fmt.Errorf("unable to unpack rootfs: %v", err) }