[pve-devel] [PATCH container] use full module path for storage_config

Dominik Csapak d.csapak at proxmox.com
Wed Jun 14 13:25:41 CEST 2017


because it is not in the local scope

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

diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 4ac5c95..9a14d50 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -1263,7 +1263,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