Skip to content

Commit d6ed0e4

Browse files
Cherrypick SDK fix #1707 to release branch (#1761)
* Update sdk to v1.6.0rc0 * Update sdk to v1.6.0rc0 * Update sdk to v1.6.0rc0 * Update to latest Image * [Bugfix][SDK] pod has no metadata attr anymore in the get_job_logs() … (#1760) --------- Co-authored-by: Hongzhi Chen <[email protected]>
1 parent 27e5499 commit d6ed0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/kubeflow/training/api/training_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def get_job_logs(
577577
logging.info("The logs of pod %s:\n %s", pod, pod_logs)
578578
except Exception:
579579
raise RuntimeError(
580-
f"Failed to read logs for pod {namespace}/{pod.metadata.name}"
580+
f"Failed to read logs for pod {namespace}/{pod}"
581581
)
582582

583583
# ------------------------------------------------------------------------ #

0 commit comments

Comments
 (0)