Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
cast uuid -> str before len (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz authored Mar 19, 2024
1 parent cdd20ef commit 5e9ef2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prefect_azure/workers/container_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ async def run(
if len(container_group_name) > 55:
slugified_flow_name = slugify(
flow.name,
max_length=55 - len(flow_run.id),
max_length=55 - len(str(flow_run.id)),
regex_pattern=r"[^a-zA-Z0-9-]+",
)
container_group_name = f"{slugified_flow_name}-{flow_run.id}"
Expand Down

0 comments on commit 5e9ef2c

Please sign in to comment.