mirror of
https://github.com/rclone/rclone.git
synced 2025-06-06 04:44:35 +08:00
docs: spelling: etc.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:

committed by
Nick Craig-Wood

parent
e4a87f772f
commit
3e1cb8302a
@ -219,7 +219,7 @@ func shouldRetry(resp *http.Response, err error) (bool, error) {
|
||||
// Check if it is an api.Error
|
||||
if apiErr, ok := err.(*api.Error); ok {
|
||||
// See https://docs.pcloud.com/errors/ for error treatment
|
||||
// Errors are classified as 1xxx, 2xxx etc
|
||||
// Errors are classified as 1xxx, 2xxx, etc.
|
||||
switch apiErr.Result / 1000 {
|
||||
case 4: // 4xxx: rate limiting
|
||||
doRetry = true
|
||||
|
Reference in New Issue
Block a user