]> git.proxmox.com Git - pve-container.git/commitdiff
migrate: avoid early line break in comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 14:24:32 +0000 (15:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 14:24:32 +0000 (15:24 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Migrate.pm

index e958db20421903d477795a7ef2b06c98960faa6c..5c5dcbeabcf27cb6b10b7b25f2630ae5e37baa6f 100644 (file)
@@ -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];