mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
EP lock shouldn't be held when trying network lock
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
parent
06ff0a98a0
commit
3e154b3cef
1 changed files with 1 additions and 1 deletions
|
@ -683,8 +683,8 @@ func (ep *endpoint) deleteEndpoint() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ep *endpoint) getSandbox() (*sandbox, bool) {
|
func (ep *endpoint) getSandbox() (*sandbox, bool) {
|
||||||
ep.Lock()
|
|
||||||
c := ep.network.getController()
|
c := ep.network.getController()
|
||||||
|
ep.Lock()
|
||||||
sid := ep.sandboxID
|
sid := ep.sandboxID
|
||||||
ep.Unlock()
|
ep.Unlock()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue