()
| 396 | } |
| 397 | |
| 398 | func (b *pickfirstBalancer) startFirstPassLocked() { |
| 399 | b.firstPass = true |
| 400 | b.numTF = 0 |
| 401 | // Reset the connection attempt record for existing SubConns. |
| 402 | for _, sd := range b.subConns.All() { |
| 403 | sd.connectionFailedInFirstPass = false |
| 404 | } |
| 405 | b.requestConnectionLocked() |
| 406 | } |
| 407 | |
| 408 | func (b *pickfirstBalancer) closeSubConnsLocked() { |
| 409 | for _, sd := range b.subConns.All() { |
no test coverage detected