Skip to content

Commit

Permalink
feat: swap use of ecs.client for ECSClient in getContainerPort
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsmitt committed Oct 10, 2024
1 parent 9886ccd commit 505c27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func runCommand(process string, args ...string) error {
return nil
}

func getContainerPort(client *ecs.Client, taskDefinitionArn string, containerName string) (*int32, error) {
func getContainerPort(client ECSClient, taskDefinitionArn string, containerName string) (*int32, error) {
res, err := client.DescribeTaskDefinition(context.TODO(), &ecs.DescribeTaskDefinitionInput{
TaskDefinition: aws.String(taskDefinitionArn),
})
Expand Down

0 comments on commit 505c27d

Please sign in to comment.