diff options
Diffstat (limited to 'vendor/github.com/sethgrid')
-rw-r--r-- | vendor/github.com/sethgrid/pester/README.md | 2 | ||||
-rw-r--r-- | vendor/github.com/sethgrid/pester/main.go | 4 |
2 files changed, 3 insertions, 3 deletions
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 |