diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-09-15 15:54:30 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-09-16 13:45:25 +0200 |
commit | 4a053a821aab8891498cb5dd3f01ce3437fdf0ef (patch) | |
tree | e9caa342a9566e3a29cbdb9e82e4fa8683a9c68e /libpod/container_inspect_linux.go | |
parent | 1071098ee24f2764946c72065b3e422eddc47666 (diff) | |
download | podman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.tar.gz podman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.tar.bz2 podman-4a053a821aab8891498cb5dd3f01ce3437fdf0ef.zip |
notifyproxy: don't set a read deadline
The read deadline may yield the READY message to be lost in space.
Instead, use a more Go-idiomatic alternative by using two goroutines;
one reading from the connection, the other watching the container.
[NO NEW TESTS NEEDED] since existing tests are exercising this
functionality already.
Fixes: #15800
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'libpod/container_inspect_linux.go')
0 files changed, 0 insertions, 0 deletions