mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 17:05:54 +00:00
cleanup: detete trailing whitespace
This commit is contained in:
parent
b67900f17a
commit
f5eb281ad3
@ -416,9 +416,8 @@ sub phase3_cleanup {
|
||||
die "Failed to move config to node '$self->{node}' - rename failed: $!\n"
|
||||
if !rename($conffile, $newconffile);
|
||||
|
||||
## now that config file is move, we can resume vm on target if livemigrate
|
||||
# now that config file is move, we can resume vm on target if livemigrate
|
||||
if ($self->{tunnel}) {
|
||||
|
||||
my $cmd = [@{$self->{rem_ssh}}, 'qm', 'resume', $vmid, '--skiplock'];
|
||||
eval{ PVE::Tools::run_command($cmd, outfunc => sub {}, errfunc => sub {}) };
|
||||
if (my $err = $@) {
|
||||
@ -427,7 +426,6 @@ sub phase3_cleanup {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# always stop local VM
|
||||
eval { PVE::QemuServer::vm_stop($self->{storecfg}, $vmid, 1, 1); };
|
||||
if (my $err = $@) {
|
||||
|
Loading…
Reference in New Issue
Block a user