diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-23 21:00:32 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-23 21:00:32 +0000 |
commit | 622f96240362d2f0bba0111852e4b6e61f06d1a4 (patch) | |
tree | bc97a236e8930802a58bedca4b7979045486aa2a /lib/custodian/worker.rb | |
parent | 67de664fbff80eff20851730b0539e3fd13415b3 (diff) |
Updated the alerter to be in the Custodian name-space, and the worker
to invoke it from that. Currently alerts are disabled. TODO: Fix
this.
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r-- | lib/custodian/worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index c8ea67b..6f1b5fd 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -11,7 +11,7 @@ require 'logger' # # Implementation of our protocol tests. # -#require 'custodian/alerter.rb' +require 'custodian/alerter.rb' require 'custodian/protocoltest/tcp.rb' require 'custodian/protocoltest/dns.rb' require 'custodian/protocoltest/ftp.rb' @@ -145,7 +145,7 @@ module Custodian # # This helper will do that job. # - alert = Alerter.new( test ) + alert = Custodian::Alerter.new( test ) # # We'll run no more than MAX times. |