feat: Drop Radicale checks
Remove the Radicale service entry and related auth configuration now that updates are handled by the OS package manager.
This commit is contained in:
parent
7537de2f53
commit
7c778e338c
4 changed files with 3 additions and 18 deletions
|
|
@ -124,16 +124,16 @@ def load_services(config: Dict[str, Any]) -> Dict[str, ServiceConfig]:
|
|||
|
||||
|
||||
def resolve_env_placeholders(value: str) -> str:
|
||||
pattern = re.compile(r"\{env:([A-Z0-9_]+)\}")
|
||||
env_pattern = re.compile(r"\{env:([A-Z0-9_]+)\}")
|
||||
|
||||
def replace(match: re.Match[str]) -> str:
|
||||
def replace_env(match: re.Match[str]) -> str:
|
||||
env_name = match.group(1)
|
||||
env_value = os.getenv(env_name)
|
||||
if env_value is None:
|
||||
raise ValueError(f"Missing environment variable {env_name}")
|
||||
return env_value
|
||||
|
||||
return pattern.sub(replace, value)
|
||||
return env_pattern.sub(replace_env, value)
|
||||
|
||||
|
||||
def build_headers(raw_headers: Optional[Dict[str, str]]) -> Dict[str, str]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue