mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: fix annoying warning
This commit is contained in:
parent
6fed821b6e
commit
4e6ef0751b
@ -5013,6 +5013,7 @@ sub _get_min_time {
|
||||
my %status = get_alive_links($res, "time", "*");
|
||||
foreach my $peer (keys(%status)) {
|
||||
my $stamp = $status{$peer};
|
||||
$stamp = 0 if (!defined($stamp) || $stamp eq "");
|
||||
$min_time = $stamp if $stamp < $min_time;
|
||||
}
|
||||
# protect against dead / decommissioned peers
|
||||
|
Loading…
Reference in New Issue
Block a user