parameterize s3
parent
c0da71ed1c
commit
f8919ac920
|
|
@ -3310,7 +3310,8 @@ class Kubernetes {
|
||||||
const errorMessage = errorParsed.message || ``;
|
const errorMessage = errorParsed.message || ``;
|
||||||
const continueStreaming = errorMessage.includes(`dial timeout, backstop`) ||
|
const continueStreaming = errorMessage.includes(`dial timeout, backstop`) ||
|
||||||
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
||||||
errorMessage.includes(`an error occurred when try to find container`);
|
errorMessage.includes(`an error occurred when try to find container`) ||
|
||||||
|
errorMessage.includes(`Not Found`);
|
||||||
if (continueStreaming) {
|
if (continueStreaming) {
|
||||||
cloud_runner_logger_1.default.log('Log Stream Container Not Found');
|
cloud_runner_logger_1.default.log('Log Stream Container Not Found');
|
||||||
yield new Promise((resolve) => resolve(5000));
|
yield new Promise((resolve) => resolve(5000));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -169,7 +169,8 @@ class Kubernetes implements ProviderInterface {
|
||||||
const continueStreaming =
|
const continueStreaming =
|
||||||
errorMessage.includes(`dial timeout, backstop`) ||
|
errorMessage.includes(`dial timeout, backstop`) ||
|
||||||
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
||||||
errorMessage.includes(`an error occurred when try to find container`);
|
errorMessage.includes(`an error occurred when try to find container`) ||
|
||||||
|
errorMessage.includes(`Not Found`);
|
||||||
if (continueStreaming) {
|
if (continueStreaming) {
|
||||||
CloudRunnerLogger.log('Log Stream Container Not Found');
|
CloudRunnerLogger.log('Log Stream Container Not Found');
|
||||||
await new Promise((resolve) => resolve(5000));
|
await new Promise((resolve) => resolve(5000));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue