Fix disabling vcs cache should not add vcs mount point to container

This commit is contained in:
allegroai 2024-04-19 23:48:50 +03:00
parent 441e5a73b2
commit 41fc4ec646

View File

@ -3817,7 +3817,7 @@ class Worker(ServiceCommandSection):
host_pip_dl = load_path("agent.pip_download_cache.path")
self.debug("host_pip_dl: {}".format(host_pip_dl))
host_vcs_cache = load_path("agent.vcs_cache.path")
host_vcs_cache = load_path("agent.vcs_cache.path") if temp_config.get("agent.vcs_cache.enabled", True) else ""
self.debug("host_vcs_cache: {}".format(host_vcs_cache))
host_venvs_cache = load_path("agent.venvs_cache.path")