mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 00:56:53 +00:00
Add printout when using custom configuration file
This commit is contained in:
parent
44709673f4
commit
7e9e3ad08b
@ -174,6 +174,7 @@ class Config(object):
|
|||||||
local_config_files = LOCAL_CONFIG_FILES
|
local_config_files = LOCAL_CONFIG_FILES
|
||||||
local_config_override = LOCAL_CONFIG_FILE_OVERRIDE_VAR.get()
|
local_config_override = LOCAL_CONFIG_FILE_OVERRIDE_VAR.get()
|
||||||
if local_config_override:
|
if local_config_override:
|
||||||
|
print(f"Using custom configuration file from env var: {local_config_override}")
|
||||||
local_config_files = [expanduser(local_config_override)]
|
local_config_files = [expanduser(local_config_override)]
|
||||||
|
|
||||||
# merge configuration from local configuration files
|
# merge configuration from local configuration files
|
||||||
|
Loading…
Reference in New Issue
Block a user