mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4d200cd693
The journald log reader keeps a map of following readers so that it can close them properly when the journald reader object itself is closed, but it was possible for its worker goroutine to be scheduled so that the worker attempted to remove a reader from the map before the reader had been added to the map. This patch adds the item to the map before starting the goroutine which is expected to eventually remove it. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind) |
||
---|---|---|
.. | ||
awslogs | ||
etwlogs | ||
fluentd | ||
gcplogs | ||
gelf | ||
journald | ||
jsonfilelog | ||
loggerutils | ||
splunk | ||
syslog | ||
context.go | ||
copier.go | ||
copier_test.go | ||
factory.go | ||
logger.go |