mirror of
https://github.com/traefik/traefik.git
synced 2025-08-12 01:27:09 +02:00
13 lines
286 B
Go
13 lines
286 B
Go
package ecs
|
|
|
|
import (
|
|
"github.com/containous/traefik/types"
|
|
)
|
|
|
|
func (p *Provider) buildConfiguration(services map[string][]ecsInstance) (*types.Configuration, error) {
|
|
if p.TemplateVersion == 1 {
|
|
return p.buildConfigurationV1(services)
|
|
}
|
|
return p.buildConfigurationV2(services)
|
|
}
|