changes
This commit is contained in:
parent
d701d26938
commit
42034a7c15
@ -106,7 +106,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
|
||||
for _, host := range remoteConfig.HostName {
|
||||
sshConnection, connectErr = ssh.Dial("tcp", host, sshConfig)
|
||||
if connectErr != nil {
|
||||
break
|
||||
continue
|
||||
}
|
||||
}
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user