Commit d00c893d by Guba Sándor

instance: fixed __clear_destroy to use delete_dump

parent c954157e
...@@ -690,9 +690,9 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -690,9 +690,9 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
queue_name = self.mem_dump['datastore'].get_remote_queue_name( queue_name = self.mem_dump['datastore'].get_remote_queue_name(
'storage') 'storage')
try: try:
from storage.tasks.remote_tasks import delete from storage.tasks.remote_tasks import delete_dump
delete.apply_async(args=[self.mem_dump['path']], delete_dump.apply_async(args=[self.mem_dump['path']],
queue=queue_name).get() queue=queue_name).get()
except: except:
pass pass
......
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