Duke-GCB / lando

Lando's not a man, he's a system
MIT License
0 stars 1 forks source link

Fix saving logs from failed jobs #206

Closed johnbradley closed 5 years ago

johnbradley commented 5 years ago

The lando k8s job watcher code was attempting to read logs for a failed job by finding a pod with the job_name. This failed to find a pod and always returned Unable to read logs. Changes here read the logs from the most recent pod created by a failed job.

Fixes 204