Skip to content

Commit

Permalink
Adheres to pykube new logs method instead of previous get_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pcm32 committed May 13, 2016
1 parent b46b491 commit 0016c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def __produce_log_file(self, job_state):
for pod_obj in pod_r.response['items']:
pod = Pod(self._pykube_api, pod_obj)
logs += "\n\n==== Pod " + pod.name + " log start ====\n\n"
logs += pod.get_logs(timestamps=True)
logs += pod.logs(timestamps=True)
logs += "\n\n==== Pod " + pod.name + " log end ===="
logs_file_path = job_state.output_file
logs_file = open(logs_file_path, mode="w")
Expand Down

0 comments on commit 0016c51

Please sign in to comment.