Commit 5ac14b00 by Guba Sándor

vm: added url to activity result

parent 5feb7549
......@@ -137,7 +137,8 @@ class DownloadDiskOperation(InstanceOperation):
if self.instance.status not in ['STOPPED', 'PENDING']:
raise self.instance.WrongStateError(self.instance)
def _operation(self, user, url, task, name=None):
def _operation(self, user, url, task, activity, name=None):
activity.result = url
# TODO implement with hot-attach when it'll be available
from storage.models import Disk
......
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