Commit 985f189e by Karsa Zoltán István

fix integer error

parent d53e59f6
......@@ -613,7 +613,8 @@ def resize_disk(name, path, size):
# domain.blockResize(path, int(size),
# flags=libvirt.VIR_DOMAIN_BLOCK_RESIZE_BYTES)
# To be compatible with libvirt < 0.9.11
domain.blockResize(path, int(size)/1024, 0)
logging.debug(" === Resize : " + size)
domain.blockResize(path,int(int(size)/1024), 0)
@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