Skip to content

Commit 6e73b3b

Browse files
committed
Fixed Gather Pod Logs
1 parent 4dc0977 commit 6e73b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/logic/core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export async function processData(dirPath, k8sResources) {
4747

4848
await writeYaml(pod, `spec_${pod.metadata.name}`, `${dirPath}/${k8sType}/${pod.metadata.name}`);
4949

50-
const logs = await getPodLogs(pod.metadata.name);
51-
console.log(`Gathering logs for pod ${pod}`);
50+
const logs = await getPodLogs(pod);
51+
console.log(`Gathering logs for pod ${pod.metadata.name}`);
5252
for (const [containerName, logData] of Object.entries(logs)) {
5353
await Deno.writeTextFile(
5454
`${dirPath}/${k8sType}/${pod.metadata.name}/log_${containerName}.log`,

0 commit comments

Comments
 (0)