moby--moby/daemon/logger/jsonfilelog
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
..
jsonlog Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
jsonfilelog.go goimports: fix imports 2019-09-18 12:56:54 +02:00
jsonfilelog_test.go jsonfilelog_test: check err from open before close 2019-09-18 12:57:30 +02:00
read.go Decouple logfile from tailfile. 2018-08-10 21:02:19 -07:00
read_test.go Use assert.NilError() instead of assert.Assert() 2019-01-21 13:16:02 +01:00