mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
dd7ef76474
1. Use "in-place" variables for if statements to limit their scope to
the respectful `if` block.
2. Report the error returned from sd_journal_* by using CErr().
3. Use errors.New() instead of fmt.Errorf().
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
journald.go | ||
journald_test.go | ||
journald_unsupported.go | ||
read.go | ||
read_native.go | ||
read_native_compat.go | ||
read_unsupported.go |