mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 05:26:40 +08:00
Reformat file with black
This commit is contained in:
parent
108218b8dc
commit
8dcab1f09c
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ def metric_analyser(
|
|||
"repo_name": repo_name,
|
||||
"action": operation,
|
||||
}
|
||||
if repo_config.g("global_prometheus") and repo_config.g("global_prometheus.metrics"):
|
||||
if repo_config.g("global_prometheus") and repo_config.g(
|
||||
"global_prometheus.metrics"
|
||||
):
|
||||
labels["backup_job"] = repo_config.g("prometheus.backup_job")
|
||||
labels["group"] = repo_config.g("prometheus.group")
|
||||
labels["instance"] = repo_config.g("global_prometheus.instance")
|
||||
|
|
Loading…
Add table
Reference in a new issue