From 2e32931d10f0c9fe17573d604444681198151284 Mon Sep 17 00:00:00 2001 From: "Hezhi (Helen) Xie" Date: Thu, 5 Sep 2024 09:21:15 -0700 Subject: [PATCH] [SDK] Fix typo of "get_pvc_spec" (#2250) * fix typo of 'get_pvc_spec' Signed-off-by: helenxie-bit * rerun tests Signed-off-by: helenxie-bit * rerun tests Signed-off-by: helenxie-bit --------- Signed-off-by: helenxie-bit --- sdk/python/kubeflow/training/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/kubeflow/training/utils/utils.py b/sdk/python/kubeflow/training/utils/utils.py index 3f817e8241..4f728d9ad3 100644 --- a/sdk/python/kubeflow/training/utils/utils.py +++ b/sdk/python/kubeflow/training/utils/utils.py @@ -390,7 +390,7 @@ def get_pvc_spec( pvc_spec = models.V1PersistentVolumeClaim( api_version="v1", kind="PersistentVolumeClaim", - metadata={"name": pvc_name, "namepsace": namespace}, + metadata={"name": pvc_name, "namespace": namespace}, spec=models.V1PersistentVolumeClaimSpec( access_modes=storage_config["access_modes"], resources=models.V1ResourceRequirements(