From af21e6993a9efa5d13a8bd65ab990461b47adcb3 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 14 Jun 2017 13:25:41 +0200 Subject: [PATCH] use full module path for storage_config because it is not in the local scope Signed-off-by: Dominik Csapak --- 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 0f7dd0f..e76d558 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.39.2