mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-14 07:44:54 +00:00
use the full package to call storage_config
because it is not in the local scope Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
5009a8c755
commit
6f249d9400
@ -74,7 +74,7 @@ sub get_replicatable_volumes {
|
|||||||
my ($storeid, $volname) = PVE::Storage::parse_volume_id($volid, $noerr);
|
my ($storeid, $volname) = PVE::Storage::parse_volume_id($volid, $noerr);
|
||||||
return if !$storeid;
|
return if !$storeid;
|
||||||
|
|
||||||
my $scfg = storage_config($storecfg, $storeid);
|
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
||||||
return if $scfg->{shared};
|
return if $scfg->{shared};
|
||||||
|
|
||||||
my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);
|
my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);
|
||||||
|
Loading…
Reference in New Issue
Block a user