From 2e7edd7508a349196a5e922fd9f936699a430ff0 Mon Sep 17 00:00:00 2001 From: Sanghun Lee Date: Tue, 20 Aug 2024 18:05:10 +0900 Subject: [PATCH] fix: typo in VFolder status update (#2742) --- changes/2742.fix.md | 1 + src/ai/backend/manager/models/vfolder.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/2742.fix.md diff --git a/changes/2742.fix.md b/changes/2742.fix.md new file mode 100644 index 0000000000..e1be4e6b26 --- /dev/null +++ b/changes/2742.fix.md @@ -0,0 +1 @@ +Fix typo in Virtual-folder status update code. diff --git a/src/ai/backend/manager/models/vfolder.py b/src/ai/backend/manager/models/vfolder.py index 881e19f2bd..ebd0f4ae69 100644 --- a/src/ai/backend/manager/models/vfolder.py +++ b/src/ai/backend/manager/models/vfolder.py @@ -1244,7 +1244,7 @@ async def _delete(): if failed_deletion: await update_vfolder_status( db_engine, - [vfid.vfolder_id for vfid, _ in failed_deletion], + [vfid.vfolder_id.folder_id for vfid, _ in failed_deletion], VFolderOperationStatus.DELETE_ERROR, do_log=False, )