[pve-devel] [PATCH 2/2] QemuServer: remove useless var

Wolfgang Link w.link at proxmox.com
Wed Feb 11 13:33:16 CET 2015


Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 PVE/QemuServer.pm |    1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 6df375e..45d522d 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5621,7 +5621,6 @@ sub snapshot_rollback {
 	return if drive_is_cdrom($drive);
 
 	my $volid = $drive->{file};
-	my $device = "drive-$ds";
 
 	PVE::Storage::volume_snapshot_rollback($storecfg, $volid, $snapname);
     });
-- 
1.7.10.4





More information about the pve-devel mailing list