summaryrefslogtreecommitdiff
path: root/lib/custodian/worker.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-23 21:00:32 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-23 21:00:32 +0000
commitef4338ad333881198825b98534166fdf38e87c1b (patch)
treebc97a236e8930802a58bedca4b7979045486aa2a /lib/custodian/worker.rb
parente80dcdf7331650a51ff89a48585f0701a2010c32 (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.rb4
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.