From 374570944965b885c8cc4af0e97d1f369efe105d Mon Sep 17 00:00:00 2001 From: DavHau Date: Fri, 10 Nov 2023 21:12:02 +0700 Subject: [PATCH] chore: remove unnecessary comment --- pkgs/clan-cli/clan_cli/webui/api_inputs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/webui/api_inputs.py b/pkgs/clan-cli/clan_cli/webui/api_inputs.py index 8aebe4089..7456cce74 100644 --- a/pkgs/clan-cli/clan_cli/webui/api_inputs.py +++ b/pkgs/clan-cli/clan_cli/webui/api_inputs.py @@ -39,7 +39,6 @@ class MachineCreate(BaseModel): @classmethod @validator("name") def validate_hostname(cls, v: str) -> str: - # Define a regular expression for a valid hostname hostname_regex = r"^(?!-)[A-Za-z0-9-]{1,63}(?