Fix unpacker to pass use apply options

Signed-off-by: Brandon Lum <lumjjb@gmail.com>
This commit is contained in:
Brandon Lum 2020-01-09 15:10:07 +00:00
parent 7804afb226
commit 95fbf3dc28

View File

@ -191,7 +191,7 @@ EachLayer:
case <-fetchC[i-fetchOffset]:
}
diff, err := a.Apply(ctx, desc, mounts)
diff, err := a.Apply(ctx, desc, mounts, u.config.ApplyOpts...)
if err != nil {
abort()
return errors.Wrapf(err, "failed to extract layer %s", diffIDs[i])