Commit 5788a437 by Őry Máté

vm: remove always-true condition

parent dff4ec15
...@@ -220,7 +220,6 @@ class ResizeDiskOperation(InstanceOperation): ...@@ -220,7 +220,6 @@ class ResizeDiskOperation(InstanceOperation):
async_queue = "localhost.man.slow" async_queue = "localhost.man.slow"
def _operation(self, user, disk, size, activity): def _operation(self, user, disk, size, activity):
if self.instance.is_running:
self.instance.resize_disk_live(disk, size) self.instance.resize_disk_live(disk, size)
def get_activity_name(self, kwargs): def get_activity_name(self, kwargs):
......
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