mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-03-05 23:17:02 -05:00
fix(parameter): missing protocol argument (#193)
* fix host split * rm .idea
This commit is contained in:
parent
716cc7189b
commit
79beba5443
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,3 +29,4 @@ dist
|
|||||||
.cover
|
.cover
|
||||||
release
|
release
|
||||||
bin
|
bin
|
||||||
|
.idea
|
||||||
1
main.go
1
main.go
@ -298,6 +298,7 @@ func run(c *cli.Context) error {
|
|||||||
Ciphers: c.StringSlice("ciphers"),
|
Ciphers: c.StringSlice("ciphers"),
|
||||||
UseInsecureCipher: c.Bool("useInsecureCipher"),
|
UseInsecureCipher: c.Bool("useInsecureCipher"),
|
||||||
TarDereference: c.Bool("tar.dereference"),
|
TarDereference: c.Bool("tar.dereference"),
|
||||||
|
Protocol: easyssh.Protocol(c.String("protocol")),
|
||||||
Proxy: easyssh.DefaultConfig{
|
Proxy: easyssh.DefaultConfig{
|
||||||
Key: c.String("proxy.ssh-key"),
|
Key: c.String("proxy.ssh-key"),
|
||||||
Passphrase: c.String("proxy.ssh-passphrase"),
|
Passphrase: c.String("proxy.ssh-passphrase"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user