pull/524/head
Frostebite 2023-03-15 22:45:56 +00:00
parent 49fe57977a
commit 645bf50a1e
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -3767,7 +3767,7 @@ class KubernetesTaskRunner {
let shouldCleanup = true;
try {
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp).toISOString()}" `
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp + 1).toISOString()}" `
: ` `;
// using this instead of Kube
const logs = await cloud_runner_system_1.CloudRunnerSystem.Run(`kubectl logs ${podName} -c ${containerName} --timestamps ${sinceTime}`, false, true);

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -26,7 +26,7 @@ class KubernetesTaskRunner {
try {
const sinceTime = KubernetesTaskRunner.lastReceivedTimestamp
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp).toISOString()}" `
? `--since-time="${new Date(KubernetesTaskRunner.lastReceivedTimestamp + 1).toISOString()}" `
: ` `;
// using this instead of Kube