Rollback to Poll instead of PollImmediate

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-08-20 20:12:31 -04:00
parent 3d163e585a
commit 7fe5eccbc6
6 changed files with 28 additions and 27 deletions

View file

@ -355,7 +355,7 @@ func matchTLSServerName(url string, tlsConfig *tls.Config) wait.ConditionFunc {
Logf("Unexpected TLS error: %v", err)
return false, nil
}
conn.Close()
defer conn.Close()
return true, nil
}