diff options
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r-- | lib/custodian/worker.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index 763805f..1f72eec 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -12,6 +12,9 @@ require 'logger' # Our modules. # require 'custodian/alerts' +require 'custodian/settings' + + # # This list of all our protocol tests. @@ -161,6 +164,15 @@ module Custodian alert = Custodian::AlertFactory.create( @alerter, test ) # + # Set the target for the alert, which might be nil. + # + alert.set_target( Custodian::Settings.instance().alerter_target() ) + + + + + + # # We'll run no more than MAX times. # # We stop the execution on a single success. |