mirror of
https://github.com/status-im/consul.git
synced 2025-02-07 19:35:35 +00:00
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
|
||||
// be an effective no-op.
|
||||
if a.Equal(b.activeAddr) {
|
||||
return nil
|
||||
break
|
||||
}
|
||||
|
||||
// Attempt to make a new SubConn with a single address so we can
|
||||
|
Loading…
x
Reference in New Issue
Block a user