diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-06-21 14:31:26 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-06-21 15:44:13 +0200 |
commit | ee4cab0e096f41f00d84a55dc16b2dc2b9df05e9 (patch) | |
tree | 53848b79d2e96f79b866688938854e58c14df027 /vendor/github.com/docker | |
parent | f4ba433b1838c08a37bb2a2d32183f38e8763d64 (diff) | |
download | podman-ee4cab0e096f41f00d84a55dc16b2dc2b9df05e9.tar.gz podman-ee4cab0e096f41f00d84a55dc16b2dc2b9df05e9.tar.bz2 podman-ee4cab0e096f41f00d84a55dc16b2dc2b9df05e9.zip |
logs: k8s-file: restore poll sleep
Commit 84b55eec2796 attempted to fix a race waiting for the container
died event. Previously, Podman slept for duration of the polling
frequence which I considerred to be a mistake. As it turns out, I was
mistaken since the file logger will, in fact, NOT read until EOF and
then stop logging but stop logging immediately _after_ it woke up.
[NO TESTS NEEDED] as the race condition cannot be hit reliably.
Fixes: #10675
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/docker')
0 files changed, 0 insertions, 0 deletions