Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hsing-Hui Hsu <[email protected]>
  • Loading branch information
otterley and SoManyHs committed May 11, 2021
1 parent 24ec7d7 commit 53062e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecs/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ enum ContainerInsights {
*/
export interface CapacityProviderStrategy {
/**
* The capacity provider
* The name of the capacity provider
*/
readonly capacityProvider: string;

Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecs/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ nodeunitShim({
test.done();
},

'allows specifying capacityProviders'(test: Test) {
'allows specifying Fargate capacityProviders'(test: Test) {
// GIVEN
const app = new cdk.App();
const stack = new cdk.Stack(app, 'test');
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecs/test/ec2/ec2-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ nodeunitShim({
test.done();
},

'with capacity provider'(test: Test) {
'with autoscaling group capacity provider'(test: Test) {
// GIVEN
const stack = new cdk.Stack();
const vpc = new ec2.Vpc(stack, 'Vpc');
Expand Down

0 comments on commit 53062e8

Please sign in to comment.