mirror of https://github.com/status-im/consul.git
Break instead (#15844)
This commit is contained in:
parent
3df2b7d2ab
commit
d44b23cb31
|
@ -45,7 +45,7 @@ func (b *customPickfirstBalancer) UpdateClientConnState(state balancer.ClientCon
|
||||||
// of addresses matched the currently connected address, it would
|
// of addresses matched the currently connected address, it would
|
||||||
// be an effective no-op.
|
// be an effective no-op.
|
||||||
if a.Equal(b.activeAddr) {
|
if a.Equal(b.activeAddr) {
|
||||||
return nil
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attempt to make a new SubConn with a single address so we can
|
// Attempt to make a new SubConn with a single address so we can
|
||||||
|
|
Loading…
Reference in New Issue