Fix exit flow for k8s job

This commit is contained in:
Frostebite 2023-09-28 18:59:48 +01:00
parent 534c94e159
commit 6c6866f27e
3 changed files with 1 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -77,7 +77,7 @@ class KubernetesTaskRunner {
// if line contains "LOGS: " then stop // if line contains "LOGS: " then stop
if (message.includes(`LOGS:`)) { if (message.includes(`LOGS:`)) {
CloudRunnerLogger.log(`LOGS: found`); CloudRunnerLogger.log(`LOGS: found`);
break; continue;
} }
({ shouldReadLogs, shouldCleanup, output } = FollowLogStreamService.handleIteration( ({ shouldReadLogs, shouldCleanup, output } = FollowLogStreamService.handleIteration(
message, message,