Skip to content

Commit

Permalink
Fix disabling virt (#15296)
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr authored Jan 2, 2025
1 parent 41a71c6 commit 358c863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/virt/attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def query(self, path, enabled, options=None):

async def delete(self, attachments):
if attachments:
job = await self.middleware.call('virt.global.update', {'pool': ''})
job = await self.middleware.call('virt.global.update', {'pool': None})
await job.wait(raise_error=True)

async def toggle(self, attachments, enabled):
Expand Down

0 comments on commit 358c863

Please sign in to comment.