Reformat file with black

This commit is contained in:
deajan 2025-06-13 14:57:09 +02:00
parent 108218b8dc
commit 8dcab1f09c

View file

@ -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")