Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
flowchartsman committed May 17, 2018
1 parent f259dbc commit 5a30723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ err := retrier.Run(func() error {
resp, err := http.Get("http://golang.org")
switch {
case err != nil:
// request error : return it
// request error - return it
return err
case resp.StatusCode == 0 || resp.StatusCode >= 500:
// retryable StatusCode - return it
Expand Down

0 comments on commit 5a30723

Please sign in to comment.