Skip to content

Commit

Permalink
Register docker fs attachment delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Jul 30, 2024
1 parent 513e6b7 commit 0173d4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/middlewared/middlewared/plugins/docker/attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ async def start(self, attachments):
await self.middleware.call('docker.state.start_service')
except Exception:
self.middleware.logger.error('Failed to start docker')


async def setup(middleware):
await middleware.call('pool.dataset.register_attachment_delegate', DockerFSAttachmentDelegate(middleware))

0 comments on commit 0173d4e

Please sign in to comment.