Selaa lähdekoodia

Merge pull request #325 from mavenugo/master

removed a duplicate and incorrect unlock
Jana Radhakrishnan 10 vuotta sitten
vanhempi
commit
fbd5923964
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      libnetwork/sandboxdata.go

+ 0 - 1
libnetwork/sandboxdata.go

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