1
0
Fork 0

Run Rancher tests cases in parallel.

This commit is contained in:
Ludovic Fernandez 2017-11-20 11:40:04 +01:00 committed by Traefiker
parent be306d651e
commit ab87bad952
3 changed files with 219 additions and 166 deletions

View file

@ -250,9 +250,7 @@ func (p *Provider) loadRancherConfig(services []rancherData) *types.Configuratio
}
// filter services
filteredServices := fun.Filter(func(service rancherData) bool {
return p.serviceFilter(service)
}, services).([]rancherData)
filteredServices := fun.Filter(p.serviceFilter, services).([]rancherData)
frontends := map[string]rancherData{}
backends := map[string]rancherData{}