Skip to content

Commit

Permalink
fix readme part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Apr 6, 2024
1 parent 7657a0f commit fd3537b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ You can add labels to the container with the `dockerLabels` prop or `addDockerLa
```ts
declare const taskDefinition: ecs.TaskDefinition;

taskDefinition.addContainer('cont', {
const container = taskDefinition.addContainer('cont', {
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
memoryLimitMiB: 1024,
dockerLabels: {
Expand Down

0 comments on commit fd3537b

Please sign in to comment.