Skip to content

Commit

Permalink
use 8 chars from uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen committed Oct 26, 2023
1 parent f73ae15 commit 7032434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow/plugins/kubernetes/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def create_job(
job = (
KubernetesClient()
.job(
generate_name="t-{uid}".format(uid=str(uuid4())[:3]),
generate_name="t-{uid}-".format(uid=str(uuid4())[:8]),
namespace=namespace,
service_account=service_account,
secrets=secrets,
Expand Down

0 comments on commit 7032434

Please sign in to comment.