]> git.proxmox.com Git - pve-container.git/commitdiff
use the disk-size property type
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Oct 2015 08:58:27 +0000 (10:58 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 09:29:05 +0000 (11:29 +0200)
src/PVE/LXC.pm

index d5d1b154fa62f51b8b667fd4cdbddd5226216ef1..dd39e49a91027bc2d208ee87bfbe1f717612a68d 100644 (file)
@@ -39,9 +39,8 @@ my $rootfs_desc = {
        optional => 1,
     },
     size => {
-       type => 'string',
+       type => 'disk-size',
        format_description => 'DiskSize',
-       pattern => '\d+[TGMK]?',
        description => 'Volume size (read only value).',
        optional => 1,
     },