We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a797a0c commit 42d4df8Copy full SHA for 42d4df8
1 file changed
lambdas/functions/control-plane/src/aws/runners.ts
@@ -211,10 +211,10 @@ async function processFleetResult(
211
];
212
213
const scaleErrors =
214
- runnerParameters.customScaleErrors && runnerParameters.customScaleErrors.length > 0
215
- ? runnerParameters.customScaleErrors
216
- : defaultScaleErrors;
217
-
+ runnerParameters.customScaleErrors && runnerParameters.customScaleErrors.length > 0
+ ? runnerParameters.customScaleErrors
+ : defaultScaleErrors;
+
218
const failedCount = countScaleErrors(errors, scaleErrors);
219
if (failedCount > 0) {
220
logger.warn('Create fleet failed, ScaleError will be thrown to trigger retry for ephemeral runners.');
0 commit comments