mirror of
https://github.com/containers/podman
synced 2024-10-19 00:34:18 +00:00
c46884aa93
The function that's handing us events will return an error after closing the channel over which it's sending events, and its caller (in its own goroutine) will then send that error over another channel. The logic that started the goroutine is likely to notice that the events channel is closed before noticing that the error channel has a result for it to read, so any error that would have been communicated would be lost. When we finish reading events, check if the reader returned an error before telling our caller that there was no error. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> |
||
---|---|---|
.. | ||
podman | ||
podman-mac-helper | ||
podman-wslkerninst | ||
quadlet | ||
rootlessport | ||
winpath |