remove not used refreshVolumes in cluster.go

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-05-22 23:01:40 +08:00
parent df77cf3674
commit 7d5ef9016d
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(request *types.NetworkCreate) (response *types.NetworkCreateResponse, err error) {
var (