forked from Ivasoft/traefik
Generic awsvpc support, not just Fargate
This commit is contained in:
committed by
Traefiker Bot
parent
b52b0f58b9
commit
40b8a93930
@@ -293,7 +293,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 {
|
||||
|
||||
Reference in New Issue
Block a user