[pve-devel] [PATCH 1/2] change function pase_size to PVE::JSONSchema::parse_size

Wolfgang Link w.link at proxmox.com
Thu Oct 15 09:55:55 CEST 2015


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

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 8efc0c6..69bc502 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -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;
-- 
2.1.4





More information about the pve-devel mailing list