Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit af3da2a

Browse files
committed
Fix namespace
1 parent 641a4fa commit af3da2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function displayAllLogsForJob(jobName) {
3838
const {
3939
body: { items: pods },
4040
} = await k8sPodsApi.listNamespacedPod(
41-
"default",
41+
namespace,
4242
true,
4343
undefined,
4444
undefined,
@@ -58,7 +58,7 @@ async function displayAllLogsForJob(jobName) {
5858
for (const container of pod.spec.containers) {
5959
const response = await k8sPodsApi.readNamespacedPodLog(
6060
pod.metadata.name,
61-
"default",
61+
namespace,
6262
container.name
6363
);
6464
console.log(`Container ${container.name}:`);

0 commit comments

Comments
 (0)