mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #1234 from mrjana/overlay
Fix panic if miss notification sock is nil
This commit is contained in:
commit
bc147ce99d
1 changed files with 4 additions and 1 deletions
|
@ -510,7 +510,10 @@ func (n *network) initSandbox() error {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
go n.watchMiss(nlSock)
|
if nlSock != nil {
|
||||||
|
go n.watchMiss(nlSock)
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue