Fix: await log stream, set previous=false
parent
862faec502
commit
52fe9fd9d0
|
|
@ -1649,7 +1649,7 @@ class Kubernetes {
|
||||||
const logOptions = {
|
const logOptions = {
|
||||||
follow: true,
|
follow: true,
|
||||||
pretty: true,
|
pretty: true,
|
||||||
previous: true,
|
previous: false,
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const resultError = yield new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { return new client_node_1.Log(this.kubeConfig).log(this.namespace, this.podName, this.containerName, stream, resolve, logOptions); }));
|
const resultError = yield new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { return new client_node_1.Log(this.kubeConfig).log(this.namespace, this.podName, this.containerName, stream, resolve, logOptions); }));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -444,7 +444,7 @@ class Kubernetes implements RemoteBuilderProviderInterface {
|
||||||
const logOptions = {
|
const logOptions = {
|
||||||
follow: true,
|
follow: true,
|
||||||
pretty: true,
|
pretty: true,
|
||||||
previous: true,
|
previous: false,
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const resultError = await new Promise(async (resolve) =>
|
const resultError = await new Promise(async (resolve) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue