Skip to content
Snippets Groups Projects
Commit 96fa31fc authored by Karel van Klink's avatar Karel van Klink :smiley_cat: Committed by Mohammad Torkashvand
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 73d83091
No related branches found
No related tags found
1 merge request!324Feature/manage sid and gids
Pipeline #90932 passed
......@@ -35,7 +35,7 @@ def validate_id(value: str, prefix: Literal["GA", "GS"], field_name: str) -> str
raise ValueError(err) from ValueError
if min_range <= numeric_part <= max_range:
err = f"{field_name} must not have a numeric part between 50000 and 99999, received {numeric_part}"
err = f"{field_name} must not have a numeric part between {min_range} and {max_range}, received {numeric_part}"
raise ValueError(err)
if not is_resource_type_value_unique(field_name, value):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment