!fixup Add email notification support

This commit is contained in:
deajan 2025-06-16 16:06:26 +02:00
parent 0014147654
commit f0763033e4

View file

@ -206,8 +206,8 @@ def send_prometheus_metrics(
return False
try:
authentication = (
repo_config.g("prometheus.http_username"),
repo_config.g("prometheus.http_password"),
repo_config.g("global_prometheus.http_username"),
repo_config.g("global_prometheus.http_password"),
)
except KeyError:
logger.info("No metrics authentication present.")