Update log lines to use containerd log package
Removed unused requires root test function and updated tar requires function to use lookup method. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
f0a43e72cd
commit
6443891a7d
5 changed files with 20 additions and 44 deletions
|
@ -63,7 +63,7 @@ func ApplyLayer(snapshots snapshot.Snapshotter, mounter Mounter, rd io.Reader, p
|
|||
return "", err
|
||||
}
|
||||
|
||||
if _, err := archive.ApplyDiffTar(context.Background(), key, rd); err != nil {
|
||||
if _, err := archive.Apply(context.Background(), key, rd); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue