Commit 5ca86fb9 by Dudás Ádám

storage: add activity logging to destroy method

parent bc56f9c1
...@@ -204,7 +204,8 @@ class Disk(TimeStampedModel): ...@@ -204,7 +204,8 @@ class Disk(TimeStampedModel):
if self.destroyed: if self.destroyed:
return False return False
# TODO add activity logging with disk_activity(code_suffix='destroy', disk=self,
task_uuid=task_uuid, user=user):
self.destroyed = timezone.now() self.destroyed = timezone.now()
self.save() self.save()
......
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