mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-08 20:47:50 +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
|
return False
|
||||||
try:
|
try:
|
||||||
authentication = (
|
authentication = (
|
||||||
repo_config.g("prometheus.http_username"),
|
repo_config.g("global_prometheus.http_username"),
|
||||||
repo_config.g("prometheus.http_password"),
|
repo_config.g("global_prometheus.http_password"),
|
||||||
)
|
)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logger.info("No metrics authentication present.")
|
logger.info("No metrics authentication present.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue