mirror of
https://github.com/containers/podman.git
synced 2025-12-14 11:00:10 +08:00
[NO TESTS NEEDED] Vendor in containers/buildah v1.20.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/buildah/copier/copier.go
generated
vendored
4
vendor/github.com/containers/buildah/copier/copier.go
generated
vendored
@@ -1128,6 +1128,10 @@ func copierHandlerGet(bulkWriter io.Writer, req request, pm *fileutils.PatternMa
|
||||
}
|
||||
return errors.Wrapf(err, "copier: get: error reading %q", path)
|
||||
}
|
||||
if info.Mode()&os.ModeType == os.ModeSocket {
|
||||
logrus.Warningf("buildah/copier: skipping socket %q", info.Name())
|
||||
return nil
|
||||
}
|
||||
// compute the path of this item
|
||||
// relative to the top-level directory,
|
||||
// for the tar header
|
||||
|
||||
Reference in New Issue
Block a user