mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix data race in libcontainerd
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
8a405461b0
commit
8e9fbc8f5f
1 changed files with 1 additions and 1 deletions
|
@ -142,8 +142,8 @@ func (r *remote) handleConnectionChange() {
|
|||
transientFailureCount = 0
|
||||
if utils.IsProcessAlive(r.daemonPid) {
|
||||
utils.KillProcess(r.daemonPid)
|
||||
<-r.daemonWaitCh
|
||||
}
|
||||
<-r.daemonWaitCh
|
||||
if err := r.runContainerdDaemon(); err != nil { //FIXME: Handle error
|
||||
logrus.Errorf("error restarting containerd: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue