From 1a37297bfaac943b4f4b7c6b18cc692e824e581f Mon Sep 17 00:00:00 2001 From: mahdikhashan Date: Fri, 17 Jan 2025 14:35:19 +0100 Subject: [PATCH] fix lint --- sdk/python/v1beta1/kubeflow/katib/api/katib_client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py index 8f2947856af..bfd962106bc 100644 --- a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py +++ b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py @@ -561,8 +561,9 @@ class name in this argument. raise ValueError( f""" Invalid PVC name '{name}'. It must comply with RFC 1123. - - A lowercase RFC 1123 subdomain must consist of lowercase alphanumeric characters, '-' or '.', + + A lowercase RFC 1123 subdomain must consist of lowercase + alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character. For example, 'example.com' is valid. The regex used for validation is: