summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-10 08:57:58 +0000
committerGitHub <noreply@github.com>2022-08-10 08:57:58 +0000
commit84502fc1447867aba66ea6725e22bb57cddce42c (patch)
tree8fe47161286ee1bc7f677852799648cf3f7a5116 /pkg/domain/infra/tunnel
parentc1eb9f65ac67d72f557e3770975b227657d31d4b (diff)
parent280f5d8cb01d115618d5ef131c718496a3b4900e (diff)
downloadpodman-84502fc1447867aba66ea6725e22bb57cddce42c.tar.gz
podman-84502fc1447867aba66ea6725e22bb57cddce42c.tar.bz2
podman-84502fc1447867aba66ea6725e22bb57cddce42c.zip
Merge pull request #15094 from cdoern/ssh
podman ssh work, using new c/common interface
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r--pkg/domain/infra/tunnel/images.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 206eeb1f7..bb3014099 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -12,6 +12,7 @@ import (
"github.com/containers/common/libimage"
"github.com/containers/common/pkg/config"
+ "github.com/containers/common/pkg/ssh"
"github.com/containers/image/v5/docker/reference"
"github.com/containers/image/v5/types"
"github.com/containers/podman/v4/pkg/bindings/images"
@@ -364,7 +365,7 @@ func (ir *ImageEngine) Sign(ctx context.Context, names []string, options entitie
return nil, errors.New("not implemented yet")
}
-func (ir *ImageEngine) Scp(ctx context.Context, src, dst string, parentFlags []string, quiet bool) error {
+func (ir *ImageEngine) Scp(ctx context.Context, src, dst string, parentFlags []string, quiet bool, sshMode ssh.EngineMode) error {
options := new(images.ScpOptions)
var destination *string