diff options
author | Matej Vasek <mvasek@redhat.com> | 2020-10-23 17:56:22 +0200 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2020-10-25 15:58:36 +0100 |
commit | 97d47ef3d5efce16571ae62c3d14ed540e538a24 (patch) | |
tree | 9fa1febfbc6734da529540061eb9bdff3d830255 /pkg | |
parent | bce8331528c186ef2234a3cfe6c7d0e09da79bdd (diff) | |
download | podman-97d47ef3d5efce16571ae62c3d14ed540e538a24.tar.gz podman-97d47ef3d5efce16571ae62c3d14ed540e538a24.tar.bz2 podman-97d47ef3d5efce16571ae62c3d14ed540e538a24.zip |
fix: podman-cp respects "--extract" flag
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/infra/abi/cp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/cp.go b/pkg/domain/infra/abi/cp.go index a0bfcc90c..ab90c8183 100644 --- a/pkg/domain/infra/abi/cp.go +++ b/pkg/domain/infra/abi/cp.go @@ -26,7 +26,7 @@ import ( ) func (ic *ContainerEngine) ContainerCp(ctx context.Context, source, dest string, options entities.ContainerCpOptions) (*entities.ContainerCpReport, error) { - var extract bool + extract := options.Extract srcCtr, srcPath := parsePath(ic.Libpod, source) destCtr, destPath := parsePath(ic.Libpod, dest) |