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