1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Sebastiaan van Stijn a9081299dd
logger/journald: fix SA4011: ineffective break statement
This was introduced in 906b979b88, which changed
a `goto` to a `break`, but afaics, the intent was still to break out of the loop.
(linter didn't catch this before because it didn't have the right build-tag set)

    daemon/logger/journald/read.go:238:4: SA4011: ineffective break statement. Did you mean to break out of the outer loop? (staticcheck)
                break // won't be able to write anything anymore
                ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 75577fe7a8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-20 16:57:22 +02:00
..
awslogs test: use T.Setenv to set env vars in tests 2022-04-23 17:44:16 +08:00
etwlogs panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
fluentd panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
gcplogs panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
gelf panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
journald logger/journald: fix SA4011: ineffective break statement 2022-07-20 16:57:22 +02:00
jsonfilelog daemon/logger: Increase initial buffers size 2022-05-30 20:50:56 +02:00
local daemon/logger: Increase initial buffers size 2022-05-30 20:50:56 +02:00
logentries panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
loggertest test: Add tests for logging 2022-06-10 09:26:17 +02:00
loggerutils daemon/logger: Fix TestConcurrentLogging race test 2022-05-31 14:02:59 +02:00
splunk replace deprecated gotest.tools' env.Patch() with t.SetEnv() 2022-05-28 12:12:39 +02:00
syslog panic() instead of logrus.Fatal() in init funcs 2022-04-21 12:15:20 +02:00
templates staticcheck: ignore "SA1019: strings.Title is deprecated" 2022-03-16 12:11:54 +01:00
adapter.go
adapter_test.go daemon/logger: remove ProducerGone from LogWatcher 2022-05-19 15:22:22 -04:00
copier.go Limit the rate at which logger errors are logged into daemon logs 2021-05-24 16:41:38 -07:00
copier_test.go
factory.go
log_cache_opts.go
logger.go daemon/logger: Share buffers by sync.Pool 2022-05-27 16:44:06 +02:00
logger_error.go Limit the rate at which logger errors are logged into daemon logs 2021-05-24 16:41:38 -07:00
logger_test.go
loginfo.go
metrics.go
plugin.go
plugin_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
plugin_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
proxy.go
ring.go Merge pull request #42291 from angelcar/awslogs-dont-log-messge-discarded-errors 2021-05-27 19:33:44 -07:00
ring_test.go