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:
parent
2c7f50a77d
commit
5d9723002b
15 changed files with 159 additions and 53 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue