storage migrate: tiny line reduction
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -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");
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user