mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
parent
4558488d97
commit
418636f7da
@ -131,6 +131,9 @@ std::pair<double, double> ScheduledDowntime::FindNextSegment(void)
|
|||||||
|
|
||||||
Dictionary::Ptr ranges = GetRanges();
|
Dictionary::Ptr ranges = GetRanges();
|
||||||
|
|
||||||
|
if (!ranges)
|
||||||
|
return std::make_pair(0, 0);
|
||||||
|
|
||||||
Array::Ptr segments = new Array();
|
Array::Ptr segments = new Array();
|
||||||
|
|
||||||
Dictionary::Ptr bestSegment;
|
Dictionary::Ptr bestSegment;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user