Skip to content

Commit 516ec5c

Browse files
committed
cast to int
1 parent e906bf1 commit 516ec5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cads_worker/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def submit_workflow(
196196
structlog.contextvars.bind_contextvars(event_type="DATASET_COMPUTE", job_id=job_id)
197197

198198
cache_files_urlpath = random.choice(utils.parse_data_volumes_config())
199-
depth = os.getenv("CACHE_DEPTH", 1)
199+
depth = int(os.getenv("CACHE_DEPTH", 1))
200200
if depth == 2:
201201
cache_files_urlpath = os.path.join(
202202
cache_files_urlpath, datetime.date.today().isoformat()

0 commit comments

Comments
 (0)