]> git.proxmox.com Git - pve-container.git/commitdiff
change function parse_size to PVE::JSONSchema::parse_size
authorWolfgang Link <w.link@proxmox.com>
Thu, 15 Oct 2015 07:55:55 +0000 (09:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 15 Oct 2015 08:24:39 +0000 (10:24 +0200)
src/PVE/LXC.pm

index 8efc0c6cb5abfc260b10d03f8c11146bd33ac09b..69bc502a2bbccc1a3560b794e52bd5620117b3e3 100644 (file)
@@ -887,7 +887,7 @@ sub parse_ct_mountpoint {
     return undef if !defined($res->{volume});
 
     if ($res->{size}) {
-       return undef if !defined($res->{size} = &$parse_size($res->{size}));
+       return undef if !defined($res->{size} = PVE::JSONSchema::parse_size($res->{size}));
     }
 
     return $res;