make necessary changes for code updates

Signed-off-by: Xu Yang <xyang@ciq.com>
This commit is contained in:
Xu Yang
2024-03-28 21:25:38 -06:00
committed by Jonathon Anderson
parent 2b6cf75fea
commit 555947529f

View File

@@ -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)
}