hcsshim seems to have been updated
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
9ad087947d
commit
75097b8cac
4
vendor/github.com/Microsoft/hcsshim/pkg/ociwclayer/export.go
generated
vendored
4
vendor/github.com/Microsoft/hcsshim/pkg/ociwclayer/export.go
generated
vendored
@ -25,7 +25,9 @@ func ExportLayerToTar(ctx context.Context, w io.Writer, path string, parentLayer
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer hcsshim.DeactivateLayer(driverInfo, path)
|
||||
defer func() {
|
||||
_ = hcsshim.DeactivateLayer(driverInfo, path)
|
||||
}()
|
||||
|
||||
// Prepare and unprepare the layer to ensure that it has been initialized.
|
||||
err = hcsshim.PrepareLayer(driverInfo, path, parentLayerPaths)
|
||||
|
Loading…
Reference in New Issue
Block a user