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 6b30140057..f2cba23657 100644 --- a/src/ai/backend/manager/models/vfolder.py +++ b/src/ai/backend/manager/models/vfolder.py @@ -1199,7 +1199,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, )