Skip to content

Commit

Permalink
[Bugfix][SDK] pod has no metadata attr anymore in the get_job_logs() … (
Browse files Browse the repository at this point in the history
  • Loading branch information
yaobaiwei authored Feb 16, 2023
1 parent 8d0bc09 commit ea97855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/api/training_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def get_job_logs(
logging.info("The logs of pod %s:\n %s", pod, pod_logs)
except Exception:
raise RuntimeError(
f"Failed to read logs for pod {namespace}/{pod.metadata.name}"
f"Failed to read logs for pod {namespace}/{pod}"
)

# ------------------------------------------------------------------------ #
Expand Down

0 comments on commit ea97855

Please sign in to comment.