From d1d41b5a67d60a5b94a1f80325f9656232e1097b Mon Sep 17 00:00:00 2001 From: Asim Date: Mon, 7 Nov 2016 16:51:28 +0000 Subject: [PATCH] Fix comment --- client/retry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/retry.go b/client/retry.go index 06e2d40c..82058717 100644 --- a/client/retry.go +++ b/client/retry.go @@ -2,7 +2,7 @@ package client import "golang.org/x/net/context" -// note that returning either true or a non-nil error will result in the call not being retried +// note that returning either false or a non-nil error will result in the call not being retried type RetryFunc func(ctx context.Context, req Request, retryCount int, err error) (bool, error) // always retry on error