fix bug #1280: Can't locate object method "root@pam"
This was introduced by commit 04a13668b9.
This commit is contained in:
@ -219,7 +219,7 @@ __PACKAGE__->register_method ({
|
|||||||
|
|
||||||
my $cfg = PVE::Storage::config();
|
my $cfg = PVE::Storage::config();
|
||||||
|
|
||||||
PVE::Storage::check_volume_access($rpcenv, $rpcenv->$authuser, $cfg, undef, $volid);
|
PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $volid);
|
||||||
|
|
||||||
my $path = PVE::Storage::path($cfg, $volid);
|
my $path = PVE::Storage::path($cfg, $volid);
|
||||||
my ($size, $format, $used, $parent) = PVE::Storage::file_size_info($path);
|
my ($size, $format, $used, $parent) = PVE::Storage::file_size_info($path);
|
||||||
|
|||||||
Reference in New Issue
Block a user