Minor fix migrate_logs.pl no ticket
This commit is contained in:
parent
99773177dd
commit
82f3678fdd
|
@ -149,7 +149,7 @@ if ( (defined($pa_config{'logstash_host'}) && $pa_config{'logstash_host'} ne ''
|
||||||
|
|
||||||
if(! defined($pa_config{'migration_socket'})) {
|
if(! defined($pa_config{'migration_socket'})) {
|
||||||
logger(\%pa_config, "Failed to connect to LogStash server at " . $pa_config{'logstash_host'}, 1);
|
logger(\%pa_config, "Failed to connect to LogStash server at " . $pa_config{'logstash_host'}, 1);
|
||||||
return;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
recursive_file_apply(\%pa_config, $dbh, \&migrate_log,$pa_config{'log_dir'});
|
recursive_file_apply(\%pa_config, $dbh, \&migrate_log,$pa_config{'log_dir'});
|
||||||
|
|
Loading…
Reference in New Issue