]> git.proxmox.com Git - pve-storage.git/commitdiff
use correct package prefix
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Jan 2012 12:10:50 +0000 (13:10 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Jan 2012 12:10:50 +0000 (13:10 +0100)
PVE/Storage.pm

index 9ab6f7ddd5e645af56580a63313812ab2e90271c..45186fc93ac6889facaedf6f7cd2d7a8c1dbe47e 100755 (executable)
@@ -431,7 +431,7 @@ sub parse_config {
            my $type = $1;
            my $ignore = 0;
 
-           if (!parse_storage_id ($storeid, 1)) {
+           if (!PVE::JSONSchema::parse_storage_id($storeid, 1)) {
                $ignore = 1;
                warn "ignoring storage '$storeid' - (illegal characters)\n";
            } elsif (!$default_config->{$type}) {
@@ -1210,9 +1210,9 @@ sub vdisk_alloc {
 
     die "no storage id specified\n" if !$storeid;
 
-    parse_storage_id ($storeid);
+    PVE::JSONSchema::parse_storage_id($storeid);
 
-    my $scfg = storage_config ($cfg, $storeid);
+    my $scfg = storage_config($cfg, $storeid);
 
     die "no VMID specified\n" if !$vmid;