From 12a53f5c892c06b9a8526fe0675c109b70e6e8f3 Mon Sep 17 00:00:00 2001 From: Bruno MATEU Date: Sun, 18 Jun 2023 14:25:35 +0200 Subject: [PATCH] fix ruff issues --- prometheuspvesd/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheuspvesd/cli.py b/prometheuspvesd/cli.py index 6e21b1d..30a22d7 100644 --- a/prometheuspvesd/cli.py +++ b/prometheuspvesd/cli.py @@ -121,12 +121,12 @@ class PrometheusSD: if config.config["pve"]["token_name"] and not config.config["pve"]["token_value"]: self.log.sysexit_with_message( - f"Option 'pve.token_name' require 'pve.token_value' to be set" + "Option 'pve.token_name' require 'pve.token_value' to be set" ) if not config.config["pve"]["token_name"] and not config.config["pve"]["password"]: self.log.sysexit_with_message( - f"Neither password nor API token have been set for pve authentication" + "Neither password nor API token have been set for pve authentication" ) self.logger.info(f"Using config file {config.config_file}")