From 05f697c9835cb00b7d846656a73d4c3065faebc5 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 26 Jan 2012 13:10:50 +0100 Subject: [PATCH] use correct package prefix --- PVE/Storage.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 9ab6f7d..45186fc 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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;