Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,10 @@ async def _check_instance(session: AsyncSession, instance: InstanceModel) -> Non
if job_provisioning_data.hostname is None:
res = await session.execute(
select(ProjectModel)
.where(ProjectModel.id == instance.id)
.where(ProjectModel.id == instance.project_id)
.options(joinedload(ProjectModel.backends))
)
project = res.scalar_one()
project = res.unique().scalar_one()
await _wait_for_instance_provisioning_data(
project=project,
instance=instance,
Expand Down
Loading