summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-05-27 13:51:48 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-05-27 13:51:48 +0200
commit3cef598fc2b2d75ceb02ea8546327b03bc927b55 (patch)
treee29f0111c611f87870213129f29cd4ab3c30f73a /pkg/api
parent119e13d4bcc3e8da903da33b291f2795b0e76e71 (diff)
downloadpodman-3cef598fc2b2d75ceb02ea8546327b03bc927b55.tar.gz
podman-3cef598fc2b2d75ceb02ea8546327b03bc927b55.tar.bz2
podman-3cef598fc2b2d75ceb02ea8546327b03bc927b55.zip
container stats: fix --no-stream race
Fix a race in `podman container stats` by waiting for the client to consume the data in the channel. This requires a `sync.WaitGroup` (or semaphore) in the client and to also close the channel the backend. Fixes: #6405 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api')
0 files changed, 0 insertions, 0 deletions