fix bug #1280: Can't locate object method "root@pam"

This was introduced by commit 04a13668b9.
This commit is contained in:
Dietmar Maurer
2017-02-12 09:55:50 +01:00
parent ad231f5f79
commit ec73c0ff67

View File

@ -219,7 +219,7 @@ __PACKAGE__->register_method ({
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 ($size, $format, $used, $parent) = PVE::Storage::file_size_info($path);