1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Allow drivers to implement ApplyDiff in Differ interface

This commit is contained in:
Michael Crosby 2013-11-11 17:17:38 -08:00
parent 2c7f50a77d
commit 5d9723002b
15 changed files with 159 additions and 53 deletions

View file

@ -13,7 +13,7 @@ func ApplyLayer(dest string, layer Archive) error {
// Poor man's diff applyer in 2 steps:
// Step 1: untar everything in place
if err := Untar(layer, dest); err != nil {
if err := Untar(layer, dest, nil); err != nil {
return err
}