1
mirror of https://github.com/rclone/rclone synced 2024-11-24 01:26:25 +01:00
rclone/backend/cache
albertony bcdfad3c83 build: update logging statements to make json log work - fixes #6038
This changes log statements from log to fs package, which is required for --use-json-log
to properly make log output in JSON format. The recently added custom linting rule,
handled by ruleguard via gocritic via golangci-lint, warns about these and suggests
the alternative. Fixing was therefore basically running "golangci-lint run --fix",
although some manual fixup of mainly imports are necessary following that.
2024-09-06 17:04:18 +01:00
..
cache_internal_test.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
cache_test.go cache: fix tests when testing for Object.SetMetadata 2024-06-08 17:44:11 +01:00
cache_unsupported.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
cache_upload_test.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
cache.go build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
directory.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
handle.go build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
object.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
plex.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
storage_memory.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
storage_persistent.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
utils_test.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00