Commit 5788a437 by Őry Máté

vm: remove always-true condition

parent dff4ec15
......@@ -220,8 +220,7 @@ class ResizeDiskOperation(InstanceOperation):
async_queue = "localhost.man.slow"
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):
return create_readable(
......
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