[pve-devel] [PATCH 1/2] remove unused $path

Alexandre Derumier aderumier at odiso.com
Wed Sep 25 10:28:41 CEST 2013


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/API2/Qemu.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index d253856..dad9654 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -127,7 +127,7 @@ my $create_disks = sub {
 	    $res->{$ds} = PVE::QemuServer::print_drive($vmid, $disk);
 	} else {
 
-	    my $path = $rpcenv->check_volume_access($authuser, $storecfg, $vmid, $volid);
+	    $rpcenv->check_volume_access($authuser, $storecfg, $vmid, $volid);
 
 	    my $volid_is_new = 1;
 
-- 
1.7.10.4




More information about the pve-devel mailing list