🔧 Drop containerd workaround

Partly reverts
37cc186c0b,
but re-enable test.
This commit is contained in:
Ettore Di Giacinto
2022-01-04 16:56:08 +01:00
parent 80bc5429bc
commit 2bd623a61c
2 changed files with 4 additions and 6 deletions

View File

@@ -65,12 +65,7 @@ func ExtractDeltaAdditionsFiles(
return nil, err
}
switch hdr.Typeflag {
case tar.TypeDir:
filesSrc.Set(filepath.Dir(hdr.Name), "")
default:
filesSrc.Set(hdr.Name, "")
}
filesSrc.Set(hdr.Name, "")
}
return func(h *tar.Header) (bool, error) {