Skip to content

Commit

Permalink
fix(ecs): remove linux mention in windows hardware error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Gaussen committed Jul 23, 2019
1 parent 48780fb commit 47e81a6
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -287,7 +287,7 @@ export class EcsOptimizedAmi implements ec2.IMachineImage {
}
} else if (props && props.windowsVersion) {
if (this.hwType !== AmiHardwareType.STANDARD) {
throw new Error('Windows Server does not support special hardware type. Use Amazon Linux 2 instead');
throw new Error('Windows Server does not support special hardware type');
}
} else { // generation not defined in props object
// always default to Amazon Linux v2 regardless of HW
Expand Down

0 comments on commit 47e81a6

Please sign in to comment.