mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-06-01 15:39:39 +02:00
fix f-string linting error
This commit is contained in:
parent
7a2aac4d48
commit
665abf6d57
|
@ -111,7 +111,7 @@ class PrometheusSD:
|
||||||
config.config["logging"]["level"], config.config["logging"]["format"]
|
config.config["logging"]["level"], config.config["logging"]["format"]
|
||||||
)
|
)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
self.log.sysexit_with_message(f"Can not set log level.\n{str(e)}")
|
self.log.sysexit_with_message(f"Can not set log level.\n{e!s}")
|
||||||
|
|
||||||
required = [("pve.server", config.config["pve"]["server"]),
|
required = [("pve.server", config.config["pve"]["server"]),
|
||||||
("pve.user", config.config["pve"]["user"]),
|
("pve.user", config.config["pve"]["user"]),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user