mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 15:58:39 +00:00
Return correct process pid for lxc
Fixes #2875 Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
@@ -266,6 +266,7 @@ type dockerStateWriter struct {
|
||||
}
|
||||
|
||||
func (d *dockerStateWriter) WritePid(pid int) error {
|
||||
d.c.ContainerPid = pid
|
||||
err := d.dsw.WritePid(pid)
|
||||
if d.callback != nil {
|
||||
d.callback(d.c)
|
||||
|
||||
Reference in New Issue
Block a user