We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 940763f commit 85280aaCopy full SHA for 85280aa
tsdfileapi/utils.py
@@ -76,10 +76,14 @@ def find_tenant_storage_path(
76
"""
77
cache = opts.tenant_storage_cache.copy()
78
if not cache.get(tenant):
79
+ storage_path_ess = _find_ess_dir(tenant, root=root)
80
+ if not storage_path_ess:
81
+ return None
82
+
83
cache[tenant] = {
84
"storage_backend": "ess",
85
"storage_paths": {
- "ess": _find_ess_dir(tenant, root=root),
86
+ "ess": storage_path_ess,
87
},
88
}
89
opts.tenant_storage_cache = cache.copy()
0 commit comments