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
Kir Kolyshkin 04129678a6
jsonfilelog_test: check err from open before close
Fix warnings like this one:

> daemon/logger/jsonfilelog/jsonfilelog_test.go:191:3: SA5001: should check returned error before deferring file.Close() (staticcheck)
> 		defer file.Close()
>		^

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-09-18 12:57:30 +02:00
..
awslogs Merge pull request #39818 from thaJeztah/fix_awslogs_linting 2019-09-11 09:14:38 +02:00
etwlogs
fluentd goimports: fix imports 2019-09-18 12:56:54 +02:00
gcplogs Use a regex to match labels 2019-01-16 22:17:16 +00:00
gelf Use a regex to match labels 2019-01-16 22:17:16 +00:00
journald journald/read: fix/unify errors 2019-08-02 10:02:35 -07:00
jsonfilelog jsonfilelog_test: check err from open before close 2019-09-18 12:57:30 +02:00
local goimports: fix imports 2019-09-18 12:56:54 +02:00
logentries Use a regex to match labels 2019-01-16 22:17:16 +00:00
loggerutils Use assert.NilError() instead of assert.Assert() 2019-01-21 13:16:02 +01:00
splunk Be more conservative for Windows in TestFrequency for Splunk 2019-07-17 13:13:50 -07:00
syslog Use a regex to match labels 2019-01-16 22:17:16 +00:00
templates
adapter.go Adds PartialLogMetadata to encode protobuf for logger plugins 2019-04-09 16:14:33 +05:00
adapter_test.go
copier.go
copier_test.go
factory.go goimports: fix imports 2019-09-18 12:56:54 +02:00
logger.go Cleanup duplication in daemon files 2018-11-13 10:42:57 +08:00
logger_test.go
loginfo.go Use a regex to match labels 2019-01-16 22:17:16 +00:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
plugin.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go
ring_test.go