Skip to content
Snippets Groups Projects
Commit b7906fc5 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Use name variable

parent c2867c50
No related branches found
No related tags found
1 merge request!20Load configuration from API or local file
Pipeline #77952 passed
...@@ -90,7 +90,9 @@ class BaseWorker(object): ...@@ -90,7 +90,9 @@ class BaseWorker(object):
elif self.args.config: elif self.args.config:
# Load config from YAML file # Load config from YAML file
self.config = yaml.safe_load(self.args.config) self.config = yaml.safe_load(self.args.config)
logger.info(f"Running with local configuration from {self.args.config}") logger.info(
f"Running with local configuration from {self.args.config.name}"
)
else: else:
self.config = {} self.config = {}
logger.warning("Running without any extra configuration") logger.warning("Running without any extra configuration")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment