diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-05-27 16:51:24 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-05-27 16:52:56 +0200 |
commit | 9822c3309c7cdd8ed66d0843104c10afca8bd79f (patch) | |
tree | f58c9bc5d0559db961f370754d27d551b2ce944f /cmd/podman/system/df.go | |
parent | cd1f99d063cf8bb4efdb22d2f56f1aef73ff4ba0 (diff) | |
download | podman-9822c3309c7cdd8ed66d0843104c10afca8bd79f.tar.gz podman-9822c3309c7cdd8ed66d0843104c10afca8bd79f.tar.bz2 podman-9822c3309c7cdd8ed66d0843104c10afca8bd79f.zip |
create libimage-events channel in main routine
Move the creation of the channel outside of the sub-routine to fix a
data race between writing the channel (implicitly by calling
EventChannel()) and using that channel in libimage.
[NO TESTS NEEDED]
Fixes: #10459
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman/system/df.go')
0 files changed, 0 insertions, 0 deletions