Skip to content

Commit

Permalink
Use wrong ApplyLayer in diff_windows.go
Browse files Browse the repository at this point in the history
Signed-off-by: lixiaobing10051267 <[email protected]>
  • Loading branch information
lixiaobing1 committed Dec 19, 2016
1 parent e85bb78 commit 9501f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chrootarchive/diff_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func applyLayerHandler(dest string, layer io.Reader, options *archive.TarOptions
s, err := archive.UnpackLayer(dest, layer, nil)
os.RemoveAll(tmpDir)
if err != nil {
return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s", err, dest)
return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s: %s", layer, dest, err)
}

return s, nil
Expand Down

0 comments on commit 9501f2e

Please sign in to comment.