From 76b797d06ef61cc12969df1d9fab971215b6659b Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Thu, 28 Nov 2024 16:54:14 +0800 Subject: [PATCH] fix Signed-off-by: Ryan Leung --- pkg/mock/mockcluster/mockcluster.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/mock/mockcluster/mockcluster.go b/pkg/mock/mockcluster/mockcluster.go index 5fe17e5e723a..17883bd799e6 100644 --- a/pkg/mock/mockcluster/mockcluster.go +++ b/pkg/mock/mockcluster/mockcluster.go @@ -909,3 +909,6 @@ func (mc *Cluster) ObserveRegionsStats() { storeIDs, writeBytesRates, writeKeysRates := mc.BasicCluster.GetStoresWriteRate() mc.HotStat.ObserveRegionsStats(storeIDs, writeBytesRates, writeKeysRates) } + +// ResetPrepared mocks method. +func (*Cluster) ResetPrepared() {}