diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-12 11:11:37 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-12 11:11:37 +0200 |
commit | 03af8213cea25036788d9c9db33e748b7985d590 (patch) | |
tree | 4d71c0b0821ce0e0597454b96184d01b9d1887a5 /libpod/stats.go | |
parent | f65e13eb7aa5874faad579bee2ac16170d467845 (diff) | |
download | podman-03af8213cea25036788d9c9db33e748b7985d590.tar.gz podman-03af8213cea25036788d9c9db33e748b7985d590.tar.bz2 podman-03af8213cea25036788d9c9db33e748b7985d590.zip |
sdnotify: send MAINPID only once
Send the main PID only once. Previously, `(*Container).start()` and
the conmon handler sent them ~simultaneously and went into a race.
I noticed the issue while debugging a WIP PR.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'libpod/stats.go')
0 files changed, 0 insertions, 0 deletions