Ver Fonte

removed a duplicate and incorrect unlock

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Madhu Venugopal há 10 anos atrás
pai
commit
34708355bd
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      libnetwork/sandboxdata.go

+ 0 - 1
libnetwork/sandboxdata.go

@@ -228,7 +228,6 @@ func (c *controller) LeaveAll(id string) error {
 	c.Unlock()
 
 	if !ok {
-		c.Unlock()
 		return fmt.Errorf("could not find sandbox for container id %s", id)
 	}