pull/524/head
Frostebite 2023-03-25 00:19:11 +00:00
parent 4c47e3e9f0
commit ca0b70a52a
3 changed files with 147 additions and 156 deletions

5
dist/index.js vendored
View File

@ -3672,7 +3672,6 @@ class KubernetesTaskRunner {
let didStreamAnyLogs = false; let didStreamAnyLogs = false;
let shouldReadLogs = true; let shouldReadLogs = true;
let shouldCleanup = true; let shouldCleanup = true;
try {
// eslint-disable-next-line no-constant-condition // eslint-disable-next-line no-constant-condition
while (true) { while (true) {
let sinceTime = ``; let sinceTime = ``;
@ -3740,10 +3739,6 @@ class KubernetesTaskRunner {
break; break;
} }
} }
}
catch (error) {
cloud_runner_logger_1.default.log(`k8s stream watching failed ${JSON.stringify(error, undefined, 4)}`);
}
return output; return output;
} }
static async watchUntilPodRunning(kubeClient, podName, namespace) { static async watchUntilPodRunning(kubeClient, podName, namespace) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,6 @@ class KubernetesTaskRunner {
let shouldReadLogs = true; let shouldReadLogs = true;
let shouldCleanup = true; let shouldCleanup = true;
try {
// eslint-disable-next-line no-constant-condition // eslint-disable-next-line no-constant-condition
while (true) { while (true) {
let sinceTime = ``; let sinceTime = ``;
@ -117,9 +116,6 @@ class KubernetesTaskRunner {
break; break;
} }
} }
} catch (error: any) {
CloudRunnerLogger.log(`k8s stream watching failed ${JSON.stringify(error, undefined, 4)}`);
}
return output; return output;
} }