From f3a483b6822576192809eda507711e7bc65872a7 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Wed, 20 Feb 2019 01:25:51 +0100 Subject: [PATCH] QemuMigrate : cleanup identation --- PVE/QemuMigrate.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index 07d57ed3..d33b8ffa 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -579,10 +579,10 @@ sub phase2 { $rport = int($1); $ruri = "tcp:$raddr:$rport"; } - elsif ($line =~ m/^spice listens on port (\d+)$/) { + elsif ($line =~ m/^spice listens on port (\d+)$/) { $spice_port = int($1); } - elsif ($line =~ m/^storage migration listens on nbd:(localhost|[\d\.]+|\[[\d\.:a-fA-F]+\]):(\d+):exportname=(\S+) volume:(\S+)$/) { + elsif ($line =~ m/^storage migration listens on nbd:(localhost|[\d\.]+|\[[\d\.:a-fA-F]+\]):(\d+):exportname=(\S+) volume:(\S+)$/) { my $volid = $4; my $nbd_uri = "nbd:$1:$2:exportname=$3"; my $targetdrive = $3; @@ -706,7 +706,7 @@ sub phase2 { my (undef, $proxyticket) = PVE::AccessControl::assemble_spice_ticket($authuser, $vmid, $self->{node}); my $filename = "/etc/pve/nodes/$self->{node}/pve-ssl.pem"; - my $subject = PVE::AccessControl::read_x509_subject_spice($filename); + my $subject = PVE::AccessControl::read_x509_subject_spice($filename); $self->log('info', "spice client_migrate_info");