Skip to content

Commit

Permalink
fix(docker-cluster): syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Ootes authored and thijsdaniels committed Sep 12, 2024
1 parent e35d502 commit ed246a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cdk-docker-cluster/src/constructs/DockerCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface SourceProps {
/**
* An Docker cluster on a load balanced Fargate service on EC2, using an image
* built from a Dockerfile in a directory and pushed to ECR.
* @todo Make the distribution and laod balancer optional, to reduce cost and
* @todo Make the distribution and load balancer optional, to reduce cost and
* increase deployment speed for development environments.
*/
export class DockerCluster extends Construct {
Expand Down Expand Up @@ -119,7 +119,7 @@ export class DockerCluster extends Construct {
});

if (typeof this.props.service?.tasks === "object") {
this.service.service.autoScaleTaskCount({
service.service.autoScaleTaskCount({
minCapacity: this.props.service?.tasks.minimum,
maxCapacity: this.props.service?.tasks.maximum,
});
Expand Down

0 comments on commit ed246a0

Please sign in to comment.