diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-26 04:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 04:45:02 -0400 |
commit | 8f498b52de43b20d5f9aa83c3a27e0464d41bdee (patch) | |
tree | 9fa1febfbc6734da529540061eb9bdff3d830255 /pkg/domain | |
parent | bce8331528c186ef2234a3cfe6c7d0e09da79bdd (diff) | |
parent | 97d47ef3d5efce16571ae62c3d14ed540e538a24 (diff) | |
download | podman-8f498b52de43b20d5f9aa83c3a27e0464d41bdee.tar.gz podman-8f498b52de43b20d5f9aa83c3a27e0464d41bdee.tar.bz2 podman-8f498b52de43b20d5f9aa83c3a27e0464d41bdee.zip |
Merge pull request #8119 from matejvasek/cp-extract-flag-fix
fix: respect "--extract" flag for podman cp
Diffstat (limited to 'pkg/domain')
-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) |