From 24b9ea7f3dda905384d4befb61fcca571144aa76 Mon Sep 17 00:00:00 2001 From: disksing Date: Tue, 12 Oct 2021 21:46:48 +0800 Subject: [PATCH] Update server/region_syncer/client.go Signed-off-by: disksing Co-authored-by: Ryan Leung --- server/region_syncer/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/region_syncer/client.go b/server/region_syncer/client.go index a2ea42d385a..58f516fd6aa 100644 --- a/server/region_syncer/client.go +++ b/server/region_syncer/client.go @@ -122,7 +122,7 @@ func (s *RegionSyncer) StartSyncWithLeader(addr string) { log.Info("region syncer start load region") start := time.Now() err := storage.LoadRegionsOnce(ctx, bc.CheckAndPutRegion) - log.Info("region syncer finished load region", zap.Duration("time_cost", time.Since(start))) + log.Info("region syncer finished load region", zap.Duration("time-cost", time.Since(start))) if err != nil { log.Warn("failed to load regions.", errs.ZapError(err)) }