From: Thomas Lamprecht Date: Sun, 13 Nov 2022 14:24:32 +0000 (+0100) Subject: migrate: avoid early line break in comment X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=675b1f96ffd802aa772b28ff3c7e2f293ebdb491;p=pve-container.git migrate: avoid early line break in comment Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm index e958db2..5c5dcbe 100644 --- a/src/PVE/LXC/Migrate.pm +++ b/src/PVE/LXC/Migrate.pm @@ -397,8 +397,7 @@ sub final_cleanup { if (my $err = $@) { $self->log('err', $err); } - # in restart mode, we start the container on the source node - # on migration error + # in restart mode, we start the container on the source node on migration error if ($self->{opts}->{restart} && $self->{was_running}) { $self->log('info', "start container on source node"); my $skiplock = 1; @@ -408,8 +407,7 @@ sub final_cleanup { my $cmd = [ @{$self->{rem_ssh}}, 'pct', 'unlock', $vmid ]; $self->cmd_logerr($cmd, errmsg => "failed to clear migrate lock"); - # in restart mode, we start the container on the target node - # after migration + # in restart mode, we start the container on the target node after migration if ($self->{opts}->{restart} && $self->{was_running}) { $self->log('info', "start container on target node"); my $cmd = [ @{$self->{rem_ssh}}, 'pct', 'start', $vmid];