Commit 64a1d1b9 by Guba Sándor

fix backward compatibility where flag is not optional

parent 43dc4648
...@@ -591,7 +591,7 @@ def resize_disk(name, path, size): ...@@ -591,7 +591,7 @@ def resize_disk(name, path, size):
# domain.blockResize(path, int(size), # domain.blockResize(path, int(size),
# flags=libvirt.VIR_DOMAIN_BLOCK_RESIZE_BYTES) # flags=libvirt.VIR_DOMAIN_BLOCK_RESIZE_BYTES)
# To be compatible with libvirt < 0.9.11 # To be compatible with libvirt < 0.9.11
domain.blockResize(path, int(size)/1024) domain.blockResize(path, int(size)/1024, 0)
@celery.task @celery.task
......
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