Skip to content

Commit d76c083

Browse files
committed
Always poll for logs. We break for nobody.
1 parent 3c08b8a commit d76c083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ trap cleanup EXIT
2222

2323
function tail_logs {
2424
while true ; do
25-
stdbuf -o0 -e0 kubectl logs -f "job/${job_name}" 2>>/dev/null && break
25+
stdbuf -o0 -e0 kubectl logs -f "job/${job_name}" 2>>/dev/null || true
2626
sleep 0.2
2727
done
2828
}

0 commit comments

Comments
 (0)