Commit e031f881 by Bach Dániel

vm: fix FlushOperation

parent fcf88559
...@@ -539,7 +539,7 @@ class FlushOperation(NodeOperation): ...@@ -539,7 +539,7 @@ class FlushOperation(NodeOperation):
self.node.disable(user, activity) self.node.disable(user, activity)
for i in self.node.instance_set.all(): for i in self.node.instance_set.all():
with activity.sub_activity('migrate_instance_%d' % i.pk): with activity.sub_activity('migrate_instance_%d' % i.pk):
i.migrate() i.migrate(user=user)
register_operation(FlushOperation) register_operation(FlushOperation)
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