mirror of
https://github.com/containers/podman.git
synced 2025-06-01 17:17:47 +08:00
vendor of containers/(common, storage, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/ssh/utils.go
generated
vendored
2
vendor/github.com/containers/common/pkg/ssh/utils.go
generated
vendored
@ -145,7 +145,7 @@ func ParseScpArgs(options ConnectionScpOptions) (string, string, string, bool, e
|
||||
if strings.Contains(localPath, "ssh://") {
|
||||
localPath = strings.Split(localPath, "ssh://")[1]
|
||||
}
|
||||
remotePath := ""
|
||||
var remotePath string
|
||||
swap := false
|
||||
if split := strings.Split(localPath, ":"); len(split) == 2 {
|
||||
// save to remote, load to local
|
||||
|
Reference in New Issue
Block a user