Merge pull request #9250 from sharifelgamal/revert-native
revert native-ssh change for ssh commandpull/9265/head^2
commit
46397f4fea
|
@ -42,14 +42,14 @@ func CreateSSHShell(api libmachine.API, cc config.ClusterConfig, n config.Node,
|
|||
return errors.Errorf("%q is not running", machineName)
|
||||
}
|
||||
|
||||
client, err := host.CreateSSHClient()
|
||||
|
||||
if native {
|
||||
ssh.SetDefaultClient(ssh.Native)
|
||||
} else {
|
||||
ssh.SetDefaultClient(ssh.External)
|
||||
}
|
||||
|
||||
client, err := host.CreateSSHClient()
|
||||
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Creating ssh client")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue