]> git.proxmox.com Git - pve-container.git/commitdiff
use full module path for storage_config
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 14 Jun 2017 11:25:41 +0000 (13:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 14 Jun 2017 11:55:33 +0000 (13:55 +0200)
because it is not in the local scope

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/LXC/Config.pm

index 0f7dd0fcd23f5785df1bfbb41fe28791f6f03f7a..e76d55888c097afff8051febb8d47fa4a3b50bda 100644 (file)
@@ -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);