diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-05-04 13:23:33 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-05-05 04:41:06 -0400 |
commit | ed159f864dc8e2cd79d98fb46a28f1413dc1a7fb (patch) | |
tree | 612c1c0010014522962866c47bc570d9860770be /vendor/github.com/fsouza/go-dockerclient/tar.go | |
parent | bdaac4b2b6573d0954c58da9968536017160b1ed (diff) | |
download | podman-ed159f864dc8e2cd79d98fb46a28f1413dc1a7fb.tar.gz podman-ed159f864dc8e2cd79d98fb46a28f1413dc1a7fb.tar.bz2 podman-ed159f864dc8e2cd79d98fb46a28f1413dc1a7fb.zip |
Vendor in containers/buildah@v1.26.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/tar.go')
-rw-r--r-- | vendor/github.com/fsouza/go-dockerclient/tar.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/tar.go b/vendor/github.com/fsouza/go-dockerclient/tar.go index f27a7bbf2..cbe722065 100644 --- a/vendor/github.com/fsouza/go-dockerclient/tar.go +++ b/vendor/github.com/fsouza/go-dockerclient/tar.go @@ -7,7 +7,6 @@ package docker import ( "fmt" "io" - "io/ioutil" "os" "path" "path/filepath" @@ -112,7 +111,7 @@ func validateContextDirectory(srcPath string, excludes []string) error { func parseDockerignore(root string) ([]string, error) { var excludes []string - ignore, err := ioutil.ReadFile(path.Join(root, ".dockerignore")) + ignore, err := os.ReadFile(path.Join(root, ".dockerignore")) if err != nil && !os.IsNotExist(err) { return excludes, fmt.Errorf("error reading .dockerignore: %w", err) } |