diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:21:18 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:21:18 +0000 |
commit | 5a1a8a9ecbfcfa90a09ce2a0006c39d97af9ee63 (patch) | |
tree | 509c4ad336543499b03a59fca2c4ab01646910db /lib/custodian/alerter.rb | |
parent | e4975064669f034ce25ef78f01ff66abb501009e (diff) |
Use the correct result in the string.
Diffstat (limited to 'lib/custodian/alerter.rb')
-rw-r--r-- | lib/custodian/alerter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/alerter.rb b/lib/custodian/alerter.rb index c21e1e9..ec6168d 100644 --- a/lib/custodian/alerter.rb +++ b/lib/custodian/alerter.rb @@ -55,9 +55,9 @@ class Alerter # Test trange # if ( BYTEMARK_RANGES.any?{|range| range.include?(IPAddr.new(resolved.to_s))} ) - return "<p>#{host} resolves to #{target} which is inside the Bytemark network.</p>" + return "<p>#{host} resolves to #{resolved} which is inside the Bytemark network.</p>" else - return "<p>#{host} resolves to #{target} which <b>is not</b> inside the Bytemark network.</p>" + return "<p>#{host} resolves to #{resolved} which <b>is not</b> inside the Bytemark network.</p>" end end |