storage migrate: tiny line reduction

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2024-04-17 12:20:36 +02:00
parent b6fc9de14a
commit 9e222078a9

View File

@ -851,9 +851,7 @@ sub storage_migrate {
eval { eval {
if ($insecure) { if ($insecure) {
my $ip; my ($ip, $port, $socket);
my $port;
my $socket;
my $send_error; my $send_error;
my $handle_insecure_migration = sub { my $handle_insecure_migration = sub {
@ -899,7 +897,6 @@ sub storage_migrate {
outfunc => $handle_insecure_migration, outfunc => $handle_insecure_migration,
errfunc => sub { errfunc => sub {
my $line = shift; my $line = shift;
$match_volid_and_log->("[$target_sshinfo->{name}] $line"); $match_volid_and_log->("[$target_sshinfo->{name}] $line");
}, },
); );