]> git.proxmox.com Git - qemu-server.git/commitdiff
Fix #878: disk-size format
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 29 Jan 2016 07:58:59 +0000 (08:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Jan 2016 09:04:05 +0000 (10:04 +0100)
disk-size is a format, not a type

PVE/QemuServer.pm

index 03da74756de64d49253c4a04b0d18b5d5c564ad5..a62ab0421d5f537acc8e10f1ba4a219ed364c786 100644 (file)
@@ -562,7 +562,8 @@ my %drivedesc_base = (
        optional => 1,
     },
     size => {
-       type => 'disk-size',
+       type => 'string',
+       format => 'disk-size',
        description => "Disk size. This is purely informational and has no effect.",
        optional => 1,
     },