Commit ed0b1b81 by Bálint Máhonfai

Export shouldn't be aborted

parent dbe3e1b5
......@@ -356,12 +356,11 @@ class ExportDiskOperation(InstanceOperation):
id = 'export_disk'
name = _('export disk')
description = _('Export disk to the selected format.')
abortable = True
required_perms = ('storage.export_disk',)
accept_states = ('STOPPED',)
async_queue = 'localhost.man.slow'
def _operation(self, disk, format='vmdk'):
def _operation(self, disk, format):
disk.export(format)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment