Commit ce91131d by Karsa Zoltán István

python //

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