From 7b320119ba532fd409ec7dade7ad02011c309599 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 18 Oct 2017 13:15:14 +0100 Subject: Update dependencies --- vendor/github.com/sethgrid/pester/README.md | 2 +- vendor/github.com/sethgrid/pester/main.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/github.com/sethgrid') diff --git a/vendor/github.com/sethgrid/pester/README.md b/vendor/github.com/sethgrid/pester/README.md index e41f4d6..ac1d6d9 100644 --- a/vendor/github.com/sethgrid/pester/README.md +++ b/vendor/github.com/sethgrid/pester/README.md @@ -35,7 +35,7 @@ client.Backoff = func(retry int) time.Duration { For a complete and working example, see the sample directory. `pester` allows you to use a constructor to control: - backoff strategy -- reties +- retries - concurrency - keeping a log for debugging ```go diff --git a/vendor/github.com/sethgrid/pester/main.go b/vendor/github.com/sethgrid/pester/main.go index 4a69791..55db6fa 100644 --- a/vendor/github.com/sethgrid/pester/main.go +++ b/vendor/github.com/sethgrid/pester/main.go @@ -109,8 +109,8 @@ func NewExtendedClient(hc *http.Client) *Client { return c } -// PrintErrStrategy is used to log attempts as they happen. -// You know, more visible +// LogHook is used to log attempts as they happen. This function is never called, +// however, if KeepLog is set to true. type LogHook func(e ErrEntry) // BackoffStrategy is used to determine how long a retry request should wait until attempted -- cgit v1.2.3