fixes
parent
49fe57977a
commit
645bf50a1e
|
|
@ -3767,7 +3767,7 @@ class KubernetesTaskRunner {
|
||||||
let shouldCleanup = true;
|
let shouldCleanup = true;
|
||||||
try {
|
try {
|
||||||
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
|
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
|
||||||
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp).toISOString()}" `
|
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp + 1).toISOString()}" `
|
||||||
: ` `;
|
: ` `;
|
||||||
// using this instead of Kube
|
// using this instead of Kube
|
||||||
const logs = await cloud_runner_system_1.CloudRunnerSystem.Run(`kubectl logs ${podName} -c ${containerName} --timestamps ${sinceTime}`, false, true);
|
const logs = await cloud_runner_system_1.CloudRunnerSystem.Run(`kubectl logs ${podName} -c ${containerName} --timestamps ${sinceTime}`, false, true);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -26,7 +26,7 @@ class KubernetesTaskRunner {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
|
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
|
||||||
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp).toISOString()}" `
|
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp + 1).toISOString()}" `
|
||||||
: ` `;
|
: ` `;
|
||||||
|
|
||||||
// using this instead of Kube
|
// using this instead of Kube
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue