disable k8s http error retry
parent
bdfb2f0d90
commit
71e5b09d3a
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue