Browse Source

Merge pull request #325 from mavenugo/master

removed a duplicate and incorrect unlock
Jana Radhakrishnan 10 years ago
parent
commit
fbd5923964
1 changed files with 0 additions and 1 deletions
  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)
 	}