From 021cc2017d967a3aee11bded32a4e3f5cfa9e04a Mon Sep 17 00:00:00 2001 From: Harmen Date: Tue, 17 Jan 2017 09:02:39 +0100 Subject: [PATCH] reset index to 0, not to 1 --- watch/plan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch/plan.go b/watch/plan.go index 1ecb23e856..6813b59735 100644 --- a/watch/plan.go +++ b/watch/plan.go @@ -57,7 +57,7 @@ OUTER: if err != nil { // Perform an exponential backoff failures++ - p.lastIndex = 1 + p.lastIndex = 0 retry := retryInterval * time.Duration(failures*failures) if retry > maxBackoffTime { retry = maxBackoffTime