Skip to content

Commit

Permalink
remote: support fallback peers
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Sep 19, 2024
1 parent 9454c6a commit 9d04fa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Thruk/Backend/Peer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ sub is_peer_machine_reachable_by_http {
return 1;
}

# TODO: what if there is a fallback http peer
if($self->get_http_fallback_peer()) {
return 1;
}

return;
}
Expand Down

0 comments on commit 9d04fa6

Please sign in to comment.