Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: crazycs520 <[email protected]>
  • Loading branch information
crazycs520 committed Feb 27, 2024
1 parent 2a92b1a commit 6439bf0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -1295,10 +1295,7 @@ func (s *replicaSelector) canFallback2Follower() bool {
return false
}
_, ok := s.state.(*accessKnownLeader)
if ok {
return false
}
return true
return !ok
}

func (s *replicaSelector) onDataIsNotReady() {
Expand Down

0 comments on commit 6439bf0

Please sign in to comment.