Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Feb 22, 2022
1 parent fcdd51b commit 9c58fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/statistics/hot_peer_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (t *testHotPeerCache) testMetrics(c *C, interval, byteRate, expectThreshold
if oldItem != nil && oldItem.rollingLoads[RegionReadBytes].isHot(thresholds[RegionReadBytes]) == true {
break
}
item := cache.updateHotPeerStat(newItem, oldItem, []float64{byteRate * interval, 0.0, 0.0}, time.Duration(interval)*time.Second)
item := cache.updateHotPeerStat(newItem, oldItem, []float64{byteRate * interval, 0.0, 0.0}, time.Duration(interval)*time.Second)
cache.Update(item)
}
thresholds := cache.calcHotThresholds(storeID)
Expand Down

0 comments on commit 9c58fdc

Please sign in to comment.