Fix broken config dir backwards compatibility (/opt/trains/config should still be supported)

This commit is contained in:
allegroai 2021-05-11 16:12:13 +03:00
parent e662c850af
commit 8ebc334889

View File

@ -19,7 +19,7 @@ from pyparsing import (
from apiserver.utilities import json
EXTRA_CONFIG_PATHS = ("/opt/clearml/config",)
EXTRA_CONFIG_PATHS = ("/opt/trains/config", "/opt/clearml/config")
DEFAULT_PREFIXES = ("clearml", "trains")
EXTRA_CONFIG_PATH_SEP = ":" if platform.system() != "Windows" else ";"