1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-03-12 15:06:06 +00:00
This commit is contained in:
Sylvain MATHIEU 2025-02-06 00:12:38 +09:00 committed by GitHub
commit 366ff00874
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -203,6 +203,9 @@ class ResourcePoolsRepository(BaseRepository):
resource_pool_db.resources.remove(resource)
await self._db_session.commit()
await self._db_session.refresh(resource_pool_db)
await self.delete_resource(resource.resource_id)
return resource_pool_db
async def get_pool_resources(self, resource_pool_id: UUID) -> List[models.Resource]: