Skip to content

Commit 1798006

Browse files
j3m7Julio Martinez
andauthored
Fix typo on task removal (#1496)
* Use proper field for allocation_id * Bump indexify version. --------- Co-authored-by: Julio Martinez <julio@tensorflow.ai>
1 parent cc64493 commit 1798006

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

indexify/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "indexify"
33
# Incremented if any of the components provided in this packages are updated.
4-
version = "0.4.8"
4+
version = "0.4.9"
55
description = "Open Source Indexify components and helper tools"
66
authors = ["Tensorlake Inc. <support@tensorlake.ai>"]
77
license = "Apache 2.0"

indexify/src/indexify/executor/function_executor_controller/function_executor_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def remove_task(self, task_id: str) -> None:
197197
task_info.is_cancelled = True
198198
logger.info(
199199
"cancelling task",
200-
allocation_id=task_info.allocation_id,
200+
allocation_id=task_info.allocation.allocation_id,
201201
)
202202
if task_info.aio_task is not None:
203203
task_info.aio_task.cancel()

0 commit comments

Comments
 (0)