Kir Kolyshkin
20a0e58a79
journald/read: fix/unify errors
...
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 >
2019-08-02 10:02:35 -07:00
..
2019-01-03 01:23:24 +00:00
2018-02-05 16:51:57 -05:00
2019-04-29 12:25:21 -07:00
2019-01-16 22:17:16 +00:00
2019-01-16 22:17:16 +00:00
2019-08-02 10:02:35 -07:00
2019-04-29 12:25:21 -07:00
2019-01-21 13:16:02 +01:00
2019-01-16 22:17:16 +00:00
2019-01-21 13:16:02 +01:00
2019-07-17 13:13:50 -07:00
2019-01-16 22:17:16 +00:00
2018-06-13 09:04:30 +02:00
2018-09-06 11:47:42 -07:00
2019-04-09 16:14:33 +05:00
2018-04-11 13:26:28 -07:00
2018-05-10 17:22:37 -04:00
2018-05-23 17:50:54 +02:00
2018-04-11 13:26:28 -07:00
2018-11-13 10:42:57 +08:00
2019-01-16 22:17:16 +00:00
2018-05-10 17:22:37 -04:00
2018-05-14 16:51:56 -04:00
2018-02-05 16:51:57 -05:00
2019-06-07 11:54:45 +01:00
2018-02-05 16:51:57 -05:00
2018-05-16 18:52:50 -06:00
2018-05-16 18:52:50 -06:00