aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/sethgrid/pester
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-10-18 13:15:14 +0100
committerNiall Sheridan <niall@intercom.io>2017-10-18 13:25:46 +0100
commit7b320119ba532fd409ec7dade7ad02011c309599 (patch)
treea39860f35b55e6cc499f8f5bfa969138c5dd6b73 /vendor/github.com/sethgrid/pester
parent7c99874c7a3e7a89716f3ee0cdf696532e35ae35 (diff)
Update dependencies
Diffstat (limited to 'vendor/github.com/sethgrid/pester')
-rw-r--r--vendor/github.com/sethgrid/pester/README.md2
-rw-r--r--vendor/github.com/sethgrid/pester/main.go4
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