Rollback to Poll instead of PollImmediate
This commit is contained in:
parent
3d163e585a
commit
7fe5eccbc6
6 changed files with 28 additions and 27 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue