]> git.proxmox.com Git - qemu-server.git/commitdiff
followup: remove unused variable and add spave between value and unit
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 Apr 2019 12:33:10 +0000 (14:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 Apr 2019 12:33:10 +0000 (14:33 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index 7d2066e482977ae2aeca094033a2d8f6aac9e268..cd86fec94a8d2a8208cf08d56384064693b8a7e3 100644 (file)
@@ -6756,8 +6756,8 @@ sub qemu_drive_mirror {
     $opts->{format} = $format if $format;
 
     if (defined($bwlimit)) {
-       my $bwlimit_bps = $opts->{speed} = $bwlimit * 1024;
-       print "drive mirror is starting for drive-$drive with bandwidth limit: ${bwlimit}KB/s\n";
+       $opts->{speed} = $bwlimit * 1024;
+       print "drive mirror is starting for drive-$drive with bandwidth limit: ${bwlimit} KB/s\n";
     } else {
        print "drive mirror is starting for drive-$drive\n";
     }