Skip to content

Commit d1cd257

Browse files
Ahmet OeztuerkAhmet Oeztuerk
authored andcommitted
add missing curl bracket, missed it while partial staging
1 parent 5ca54ab commit d1cd257

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/Thruk/Controller/extinfo.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ sub _check_stale_check {
10621062
my $current_attempt = $obj->{'current_attempt'};
10631063
my $state = $obj->{'state'};
10641064
my $last_check = $obj->{'last_check'}; # Last time the check got an answer
1065-
# obj.next_check is refreshed, even when there hasnt been any responses for a while.
1065+
# obj.next_check is refreshed, even when there hasnt been any responses for a while.
10661066
# Staleness detection is based on last_check, next_check does not help
10671067

10681068
my $next_planned_check = 0;
@@ -1084,6 +1084,7 @@ sub _check_stale_check {
10841084
}
10851085
else{
10861086
$second_next_planned_check = $next_planned_check + $retry_interval;
1087+
}
10871088

10881089
# wait at least twice of the normal check interval
10891090
if($obj->{'last_check'} > time() - $check_interval * 2) {

0 commit comments

Comments
 (0)