Skip to content

Commit bc42743

Browse files
committed
fix: simplify waiter conditions
1 parent 7557199 commit bc42743

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/aws-cdk/lib/api/hotswap/ecs-services.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ export async function isHotswappableEcsServiceChange(
144144
state: 'failure',
145145
},
146146

147-
// wait for all services to report COMPLETED status for the PRIMARY deployment
148-
{
149-
matcher: 'path',
150-
argument: "length(services[].deployments[? status == 'PRIMARY' && rolloutState != 'COMPLETED'][]) == `0`",
151-
expected: true,
152-
state: 'success',
153-
},
154-
155147
// failure if any services report a deployment with status FAILED
156148
{
157149
matcher: 'path',
@@ -160,7 +152,6 @@ export async function isHotswappableEcsServiceChange(
160152
state: 'failure',
161153
},
162154

163-
// backup for non-rolling update services that do not provide rolloutState
164155
// wait for all services to report only a single deployment
165156
{
166157
matcher: 'path',

0 commit comments

Comments
 (0)