always run -m list-resources after builds, will become always garbage collect
parent
d13f9196c5
commit
2df26620bb
|
|
@ -3089,7 +3089,7 @@ class Kubernetes {
|
|||
}
|
||||
}
|
||||
catch (error) {
|
||||
const reason = ((_b = (_a = error.response) === null || _a === void 0 ? void 0 : _a.body) === null || _b === void 0 ? void 0 : _b.reason) || ``;
|
||||
const reason = ((_b = (_a = error.response) === null || _a === void 0 ? void 0 : _a.body) === null || _b === void 0 ? void 0 : _b.reason) || error.reason || ``;
|
||||
const errorMessage = error.message || ``;
|
||||
const continueStreaming = reason === `NotFound` || errorMessage.includes(`dial timeout, backstop`);
|
||||
if (continueStreaming) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -161,7 +161,7 @@ class Kubernetes implements ProviderInterface {
|
|||
CloudRunnerLogger.log('Pod still running, recovering stream...');
|
||||
}
|
||||
} catch (error: any) {
|
||||
const reason = error.response?.body?.reason || ``;
|
||||
const reason = error.response?.body?.reason || error.reason || ``;
|
||||
const errorMessage = error.message || ``;
|
||||
|
||||
const continueStreaming = reason === `NotFound` || errorMessage.includes(`dial timeout, backstop`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue