disable k8s http error retry

pull/437/head
Frostebite 2022-11-01 22:52:34 +00:00
parent bdfb2f0d90
commit 71e5b09d3a
3 changed files with 3 additions and 14 deletions

6
dist/index.js vendored
View File

@ -3075,15 +3075,9 @@ class Kubernetes {
catch (error) {
cloud_runner_logger_1.default.log('error running k8s workflow');
cloud_runner_logger_1.default.log(error.message);
if (error.message.includes(`HTTP disabled for now`)) {
cloud_runner_logger_1.default.log('retrying watch because error includes HTTP ignore code');
continue;
}
else {
throw error;
}
}
}
yield this.cleanupTaskResources();
return output;
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -155,14 +155,9 @@ class Kubernetes implements ProviderInterface {
} catch (error: any) {
CloudRunnerLogger.log('error running k8s workflow');
CloudRunnerLogger.log(error.message);
if (error.message.includes(`HTTP disabled for now`)) {
CloudRunnerLogger.log('retrying watch because error includes HTTP ignore code');
continue;
} else {
throw error;
}
}
}
await this.cleanupTaskResources();
return output;