summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:03 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:03 +0000
commit0220b5dfebf2bc91a2fe69068179dd436f577a1d (patch)
treeb4b7b333e10674f8f1dfa7a2539a179e99eb5158
parent2921a7c7b8ab27350108ae0e678947085ded7b94 (diff)
Minor indentation fixup.
-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 = []