From 607de530d2659447197c7d34b945b216400c668f Mon Sep 17 00:00:00 2001 From: luancheng Date: Thu, 17 Sep 2020 10:37:36 +0800 Subject: [PATCH] fix build --- pkg/backup/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backup/client.go b/pkg/backup/client.go index 22db67090..d21fe68e6 100644 --- a/pkg/backup/client.go +++ b/pkg/backup/client.go @@ -833,7 +833,7 @@ backupLoop: // current tikv is unavailable log.Warn("current tikv is not available, reset the connection", zap.Uint64("storeID", storeID), zap.Int("retry time", retry)) - time.Sleep(time.Duration(retry + 1) * time.Second) + time.Sleep(time.Duration(retry+1) * time.Second) client, err = resetFn() if err != nil { log.Error("reset the connection failed, please check the tikv status",