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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user