Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Dec 13, 2021
1 parent 73ae0be commit e73e323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cluster/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func (c *coordinator) collectHotSpotMetrics() {
collectPendingInfluence(stores)
}

func collectHotMetrics(stores []*core.StoreInfo, storesLoads map[uint64][]float64, regionStats map[uint64][]*statistics.HotPeerStat, typ string, isTraceRegionFlow bool) {
func collectHotMetrics(stores []*core.StoreInfo, storesLoads map[uint64][]float64, regionStats map[uint64][]*statistics.HotPeerStat, typ statistics.RWType, isTraceRegionFlow bool) {
status := statistics.GetHotStatus(stores, storesLoads, regionStats, typ, isTraceRegionFlow)
var (
kind string
Expand Down

0 comments on commit e73e323

Please sign in to comment.