Generic awsvpc support, not just Fargate
This commit is contained in:
parent
0d6f259adc
commit
8c53318dac
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue