Kubernetes refactoring
parent
8f79ef98f8
commit
587ccb4493
|
|
@ -977,7 +977,7 @@ class Kubernetes {
|
||||||
yield this.streamLogs();
|
yield this.streamLogs();
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.error(JSON.stringify(error, undefined, 4));
|
core.error(JSON.stringify(error.response.body, undefined, 4));
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
yield this.cleanup();
|
yield this.cleanup();
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -265,7 +265,7 @@ class Kubernetes implements RemoteBuilderProviderInterface {
|
||||||
await this.watchUntilPodRunning();
|
await this.watchUntilPodRunning();
|
||||||
await this.streamLogs();
|
await this.streamLogs();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.error(JSON.stringify(error, undefined, 4));
|
core.error(JSON.stringify(error.response.body, undefined, 4));
|
||||||
} finally {
|
} finally {
|
||||||
await this.cleanup();
|
await this.cleanup();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue