mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-06 03:35:26 +08:00
!fixup Add email notification support
This commit is contained in:
parent
0014147654
commit
f0763033e4
1 changed files with 2 additions and 2 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Reference in a new issue