mirror of https://github.com/Icinga/icinga2.git
parent
c54de4b615
commit
7442cd94f5
|
@ -131,6 +131,9 @@ std::pair<double, double> ScheduledDowntime::FindNextSegment(void)
|
|||
|
||||
Dictionary::Ptr ranges = GetRanges();
|
||||
|
||||
if (!ranges)
|
||||
return std::make_pair(0, 0);
|
||||
|
||||
Array::Ptr segments = new Array();
|
||||
|
||||
Dictionary::Ptr bestSegment;
|
||||
|
|
Loading…
Reference in New Issue