Merge pull request #2262 from allencloud/remove-refreshVolumes-not-used

remove unused refreshVolumes in cluster.go
This commit is contained in:
Alexandre Beslic 2016-05-27 14:10:41 -07:00
commit 13c9e87a9f
1 changed files with 0 additions and 12 deletions

View File

@ -459,18 +459,6 @@ func (c *Cluster) RemoveImages(name string, force bool) ([]types.ImageDelete, er
return out, err
}
func (c *Cluster) refreshVolumes() {
var wg sync.WaitGroup
for _, e := range c.engines {
wg.Add(1)
go func(e *cluster.Engine) {
e.RefreshVolumes()
wg.Done()
}(e)
}
wg.Wait()
}
// CreateNetwork creates a network in the cluster
func (c *Cluster) CreateNetwork(name string, request *types.NetworkCreate) (response *types.NetworkCreateResponse, err error) {
var (