forked from Ivasoft/traefik
refactor: ECS labels.
This commit is contained in:
committed by
Traefiker Bot
parent
5921909ef5
commit
46db91ce73
12
provider/ecs/config_root.go
Normal file
12
provider/ecs/config_root.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user