summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 16:11:24 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 16:11:24 +0100
commitde7e0e2471026602725d8c0647f09aa0089f6a80 (patch)
treec3624f56c72f233510b3019dd1afc65aacf983c2 /lib/custodian/alerts.rb
parent3627b5ebd9c64e1b5b47dcd8222340ba1a0b461b (diff)
Updated to use types for test-returns.
This commit introduces a major change in custodian. In the past any test had either two results: * return false - The test failed. * return true - The test passed. We're now using an enum, more or less, such that a test may return a "skipped" result which will neither raise nor clear any alert(s). This is useful in its own right but is being introduced specifically to allow SSL-certificate tests to avoid raising and clearing outside working days/hours. This closes #10328. This fixes #10328.
Diffstat (limited to 'lib/custodian/alerts.rb')
0 files changed, 0 insertions, 0 deletions