mirror of https://github.com/docker/docs.git
Merge pull request #2412 from ezrasilvera/FixMesosRlock
Fix double RLock in Mesos cluster (apply PR #2210 to Mesos cluster)
This commit is contained in:
commit
444e25d50e
|
@ -353,9 +353,6 @@ func (c *Cluster) Container(IDOrName string) *cluster.Container {
|
|||
return nil
|
||||
}
|
||||
|
||||
c.RLock()
|
||||
defer c.RUnlock()
|
||||
|
||||
return formatContainer(cluster.Containers(c.Containers()).Get(IDOrName))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue