1
mirror of https://github.com/rclone/rclone synced 2024-12-24 15:43:45 +01:00
rclone/fs/accounting
Anuar Serdaliyev f14871caf7
accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203
Before this change the exit code for transfer limit exceeded was
incorrect. This was because the `resolveExitCode` function unwraps the
error thus reading the underlying error which is not the same as the
error it was comparing to (`ErrorMaxTransferLimitReached`).

This change fixes it by splitting the error definition in two so that
when the Fatal error is unwrapped we match against
`ErrorMaxTransferLimitReached` however when we return the error we
return `ErrorMaxTransferLimitReachedFatal`.
2020-03-10 12:00:10 +00:00
..
accounting_other.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
accounting_test.go accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203 2020-03-10 12:00:10 +00:00
accounting_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting.go accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203 2020-03-10 12:00:10 +00:00
inprogress.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
prometheus.go rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
stats_groups_test.go fs/accounting: add option to delete stats 2020-01-03 17:44:05 +00:00
stats_groups.go fs/accounting: Restore "Max number of stats groups reached" log line 2020-02-12 21:21:25 +00:00
stats_test.go fs/accounting: add option to delete stats 2020-01-03 17:44:05 +00:00
stats.go rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
stringset.go accounting: don't show entries in both transferring and checking 2019-11-19 13:22:33 +00:00
token_bucket_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
transfer.go Fix error counter - fixes #3650 2019-11-18 14:13:02 +00:00