[pve-devel] [PATCH pve-container] disk-size is a format, not a type

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Oct 15 12:18:04 CEST 2015


---
 src/PVE/LXC.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 814dd4c..0afc70d 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -39,7 +39,8 @@ my $rootfs_desc = {
 	optional => 1,
     },
     size => {
-	type => 'disk-size',
+	type => 'string',
+	format => 'disk-size',
 	format_description => 'DiskSize',
 	description => 'Volume size (read only value).',
 	optional => 1,
-- 
2.1.4




More information about the pve-devel mailing list