From 5270585e107b16dc527ada329dddf6fc44714a35 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Wed, 23 Aug 2017 21:38:43 +0000 Subject: [PATCH] fix according to comment --- go/master/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/master/client.go b/go/master/client.go index 9344c6f0ab..199690d488 100644 --- a/go/master/client.go +++ b/go/master/client.go @@ -64,6 +64,7 @@ func retry(f func() error, dur time.Duration, count int) error { err := f() if err != nil { if count > 0 { + time.Sleep(dur) return retry(f, dur, count-1) } return err -- GitLab