[pve-devel] [PATCH qemu-server 2/2] use the full package to call storage_config

Dominik Csapak d.csapak at proxmox.com
Tue Jun 13 16:11:20 CEST 2017


because it is not in the local scope

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/QemuConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm
index 6f9bde9..5135fd6 100644
--- a/PVE/QemuConfig.pm
+++ b/PVE/QemuConfig.pm
@@ -77,7 +77,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);
-- 
2.11.0





More information about the pve-devel mailing list