Skip to content

Commit

Permalink
fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Jan 21, 2025
1 parent de10365 commit 940aaae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_runner/src/app_runner/specs/config_interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class VariablesApp(BaseModel):

@field_validator("name", mode="before")
def validate_safe_name(cls, value: str) -> str:
characters = re.compile(r"^[a-zA-Z0-9_-]+$")
characters = re.compile(r"[^a-zA-Z0-9_-]+")
return characters.sub("_", value)


Expand Down

0 comments on commit 940aaae

Please sign in to comment.