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