summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/alerts/graphite.rb6
-rw-r--r--lib/custodian/protocoltest/http.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb
index 86e006b..34ec73c 100644
--- a/lib/custodian/alerts/graphite.rb
+++ b/lib/custodian/alerts/graphite.rb
@@ -63,9 +63,9 @@ module Custodian
#
# Send via UDP.
#
- socket = UDPSocket.new()
- socket.send( payload, 0, @target, 2003 );
- socket.close()
+ socket = UDPSocket.new()
+ socket.send( payload, 0, @target, 2003 );
+ socket.close()
end
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 0d20dfb..0bbe290 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -51,7 +51,7 @@ module Custodian
@url = line.split( /\s+/)[0]
@host = @url
- #
+ #
# Set the resolve modes
#
@resolve_modes = []