From 6f249d9400c56b4bfc2fad394515d74f644a91f6 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 13 Jun 2017 16:11:20 +0200 Subject: [PATCH] use the full package to call storage_config because it is not in the local scope Signed-off-by: Dominik Csapak --- PVE/QemuConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm index 3f59b4c6..2c82b2b5 100644 --- a/PVE/QemuConfig.pm +++ b/PVE/QemuConfig.pm @@ -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);