5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-06 13:17:56 +03:00

use the full package to call storage_config

because it is not in the local scope

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-06-13 16:11:20 +02:00 committed by Dietmar Maurer
parent 5009a8c755
commit 6f249d9400

View File

@ -74,7 +74,7 @@ sub get_replicatable_volumes {
my ($storeid, $volname) = PVE::Storage::parse_volume_id($volid, $noerr);
return if !$storeid;
my $scfg = storage_config($storecfg, $storeid);
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
return if $scfg->{shared};
my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);