Skip to content

Commit 9f29de4

Browse files
committed
proxy: code style
1 parent c2d91cb commit 9f29de4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/proxy/backend.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,8 @@ func (s *sharedBackendConn) BackendConn(database int32, seed uint, must bool) *B
456456
bc := s.single[database]
457457
if must || bc.IsConnected() {
458458
return bc
459-
} else {
460-
return nil
461459
}
460+
return nil
462461
}
463462

464463
var parallel = s.conns[database]

0 commit comments

Comments
 (0)