1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00
rclone/lib
Benjamin Legrand 8a6fc8535d accounting: fix global error acounting
fs.CountError is called when an error is encountered. The method was
calling GlobalStats().Error(err) which incremented the error at the
global stats level. This led to calls to core/stats with group= filter
returning an error count of 0 even if errors actually occured.

This change requires the context to be provided when calling
fs.CountError. Doing so, we can retrieve the correct StatsInfo to
increment the errors from.

Fixes #5865
2024-09-30 17:20:42 +01:00
..
atexit build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
batcher docs: fix typo in batcher docs for dropbox and googlephotos 2024-07-24 10:58:22 +01:00
bucket bucket: add Join function for a simplified path.Join 2023-03-03 15:51:00 +00:00
buildinfo build: fix gocritic lint issue unslice 2024-08-15 22:08:34 +01:00
cache fs/cache: fix parent not getting pinned when remote is a file 2024-09-28 13:49:56 +01:00
daemonize build: fix gocritic lint issue wrapperfunc 2024-08-15 22:08:34 +01:00
debug build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
dircache build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
diskusage Add lib/diskusage to measure used/free on disks 2023-09-07 15:57:45 +01:00
encoder build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errcount errcount: factor errcount abstraction from operations 2024-02-22 11:13:54 +00:00
errors lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
exitcode cmd: change exit code from 1 to 2 for syntax and usage errors 2024-09-20 18:51:08 +02:00
file lib/file: use builtin MkdirAll with go1.22 instead of our own custom version for windows 2024-09-02 18:16:38 +02:00
http accounting: fix global error acounting 2024-09-30 17:20:42 +01:00
israce build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
jwtutil build: fix govet lint errors with golangci-lint v1.60.1 2024-08-14 18:25:40 +01:00
kv build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
mmap lib/mmap: fix lint error on deprecated reflect.SliceHeader 2024-07-20 10:54:47 +01:00
multipart multipart: make pool buffer size public 2024-08-14 21:13:09 +01:00
oauthutil oauthutil: clear client secret if client ID is set 2024-05-11 16:03:32 +01:00
pacer amazonclouddrive: remove Amazon Drive backend code and docs #7539 2024-01-04 17:05:54 +00:00
plugin build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
pool build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
proxy build: fix lint errors when re-enabling revive exported & package-comments 2023-08-29 13:03:13 +01:00
random random: update Password docs 2024-04-25 11:14:14 +01:00
ranges refactor: replace min/max helpers with built-in min/max 2024-08-17 13:09:44 +02:00
readers ftp: fix multi-thread copy 2024-01-03 12:21:08 +00:00
rest build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
sdactivation lib/sd-activation: wrap coreos/go-systemd 2024-09-06 17:21:56 +01:00
structs test: do not test deprecated and unused Dial and DialTLS functions on http Transport type 2023-03-26 14:28:15 +02:00
systemd build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
terminal build: fix govet lint errors with golangci-lint v1.60.1 2024-08-14 18:25:40 +01:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00