Refactor logic for next valid time

Andreas Ericsson ae at op5.se
Mon May 6 23:50:22 CEST 2013


On 05/06/2013 06:04 PM, Robin Sonefors wrote:
> Hi list,
>
> A couple of excellent tests by Jean Gabès - marked as todo - pointed out
> problems with how nagios calculates the next valid time in a timeperiod that
> has complicated combinations of exceptions and exclusions.
>
> This patchset refactors the relevant code to fix all failing tests, as well as adds a
> new one.
>

Neat series. I'll apply tomorrow when I've had time to look at 2/6
a bit closer.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list