Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Sep 13, 2024
1 parent c0b3e8a commit 921ed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/statistics/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (tikvCollector) filter(info *StoreSummaryInfo, kind constant.ResourceKind)
}
switch kind {
case constant.LeaderKind:
return info.AllowLeaderTransferIn() || info.AllowLeaderTransferOut()
return info.AllowLeaderTransferIn() && info.AllowLeaderTransferOut()
case constant.RegionKind:
return true
}
Expand Down

0 comments on commit 921ed79

Please sign in to comment.