We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f156ac9 commit 28e1372Copy full SHA for 28e1372
cmd/sshproxy/sshproxy.go
@@ -460,9 +460,7 @@ func mainExitCode() int {
460
for fromCmd, translateCmdConf := range config.TranslateCommands {
461
if doCmd == fromCmd {
462
log.Debugf("translateCmdConf = %+v", translateCmdConf)
463
- for _, sshArg := range translateCmdConf.SSHArgs {
464
- sshArgs = append(sshArgs, sshArg)
465
- }
+ sshArgs = append(sshArgs, translateCmdConf.SSHArgs...)
466
sshArgs = append(sshArgs, "--", host, translateCmdConf.Command)
467
if config.Dump != "" && translateCmdConf.DisableDump {
468
config.Dump = "etcd"
0 commit comments