mirror of
https://github.com/restic/restic.git
synced 2025-08-13 19:56:42 +00:00
remove check for context.Canceled
gh-1434
This commit is contained in:
@@ -43,10 +43,6 @@ func (be *RetryBackend) retry(ctx context.Context, msg string, f func() error) e
|
||||
},
|
||||
)
|
||||
|
||||
if errors.Cause(err) == context.Canceled {
|
||||
return nil
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user