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/journald
Kir Kolyshkin b2b169f13f daemon/logger/journald: simplify readers field
As in other similar drivers (jsonlog, local), use a set
(i.e. `map[whatever]struct{}`), making the code simpler.

While at it, make sure we remove the reader from the set
after calling `ProducerGone()` on it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-09-10 16:17:05 -07:00
..
journald.go daemon/logger/journald: simplify readers field 2018-09-10 16:17:05 -07:00
journald_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
journald_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read.go daemon/logger/journald: simplify readers field 2018-09-10 16:17:05 -07:00
read_native.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read_native_compat.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00