Break instead (#15844)

This commit is contained in:
Chris S. Kim 2022-12-19 13:53:05 -05:00 committed by GitHub
parent 3df2b7d2ab
commit d44b23cb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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