Skip to content

Commit 5a2f537

Browse files
committed
Update daemon test
1 parent ff1a813 commit 5a2f537

File tree

8 files changed

+2367
-18
lines changed

8 files changed

+2367
-18
lines changed

packages/@aws-cdk/aws-applicationsignals-alpha/lib/enablement/ecs.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -655,18 +655,19 @@ export class ApplicationSignalsIntegration extends Construct {
655655
if (runtimePlatformObj) {
656656
const runtimePlatform = runtimePlatformObj as ecs.RuntimePlatform;
657657
if (runtimePlatform.operatingSystemFamily) {
658+
isWindows = runtimePlatform.operatingSystemFamily.isWindows();
659+
658660
switch (runtimePlatform.operatingSystemFamily) {
659661
case ecs.OperatingSystemFamily.WINDOWS_SERVER_2019_CORE:
660662
case ecs.OperatingSystemFamily.WINDOWS_SERVER_2019_FULL:
661663
cloudWatchAgentImage = CLOUDWATCH_AGENT_IMAGE_WIN2019;
662-
isWindows = true;
663664
break;
664665
case ecs.OperatingSystemFamily.WINDOWS_SERVER_2022_CORE:
665666
case ecs.OperatingSystemFamily.WINDOWS_SERVER_2022_FULL:
666667
cloudWatchAgentImage = CLOUDWATCH_AGENT_IMAGE_WIN2022;
667-
isWindows = true;
668668
break;
669669
}
670+
670671
if (runtimePlatform.cpuArchitecture) {
671672
cpuArch = runtimePlatform.cpuArchitecture;
672673
}

packages/@aws-cdk/aws-applicationsignals-alpha/test/integ.ecs-enablement-daemon.js.snapshot/asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c/__entrypoint__.js

+155
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-applicationsignals-alpha/test/integ.ecs-enablement-daemon.js.snapshot/asset.a1acfc2b5f4f6b183fd2bb9863f486bc5edef6a357b355a070d9a0e502df418c/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-applicationsignals-alpha/test/integ.ecs-enablement-daemon.js.snapshot/ecs-enablement-integration.assets.json

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)