Avoid candidates without label (indirect related)
This commit is contained in:
parent
f9c3d480ca
commit
f84760e448
|
@ -1311,10 +1311,10 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
|
|||
my ($progress, $step) = (90, 10.0 / scalar(@hosts)); # From 90% to 100%.
|
||||
|
||||
foreach my $addr (keys %{$self->{'agents_found'}}) {
|
||||
next if is_empty($addr);
|
||||
|
||||
my $label = $self->{'agents_found'}->{$addr}{'agent'}{'nombre'};
|
||||
|
||||
next if is_empty($label);
|
||||
|
||||
$self->call('update_progress', $progress);
|
||||
$progress += $step;
|
||||
# Store temporally. Wait user approval.
|
||||
|
|
Loading…
Reference in New Issue