Skip to content
Snippets Groups Projects
Commit 85001ccb authored by Anael Beutot's avatar Anael Beutot
Browse files

Explicitly pass ev_loop for DRBD job creation.

parent 888e355c
No related branches found
No related tags found
No related merge requests found
......@@ -626,7 +626,8 @@ class Handler(HostHandler):
raise DRBDError('Cannot setup DRBD: volume does not exist')
try:
job = self.main.job_manager.create(DRBD, self.hypervisor.storage,
job = self.main.job_manager.create(DRBD, self.main.evloop,
self.hypervisor.storage,
pool, volume)
except Exception:
logger.exception('Error while creating DRBD job')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment