mirror of
https://github.com/containous/traefik.git
synced 2025-02-08 05:57:36 +03:00
Generic awsvpc support, not just Fargate
This commit is contained in:
parent
0d6f259adc
commit
8c53318dac
@ -287,7 +287,7 @@ func (p *Provider) listInstances(ctx context.Context, client *awsClient) ([]ecsI
|
||||
}
|
||||
|
||||
var mach *machine
|
||||
if aws.StringValue(task.LaunchType) == ecs.LaunchTypeFargate {
|
||||
if len(task.Attachments) != 0 {
|
||||
var ports []portMapping
|
||||
for _, mapping := range containerDefinition.PortMappings {
|
||||
if mapping != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user