mirror of https://github.com/docker/docs.git
Merge pull request #1146 from clnperez/log-ssh-err-output
If there was an SSH error, log the output
This commit is contained in:
commit
b3d39ca81d
|
@ -30,7 +30,9 @@ func RunSSHCommandFromDriver(d Driver, command string) (ssh.Output, error) {
|
|||
return output, err
|
||||
}
|
||||
|
||||
return client.Run(command)
|
||||
output, err = client.Run(command)
|
||||
log.Debug(fmt.Sprintf("SSH cmd err, output: %v: %s", err, output))
|
||||
return output, err
|
||||
}
|
||||
|
||||
func sshAvailableFunc(d Driver) func() bool {
|
||||
|
|
Loading…
Reference in New Issue