summaryrefslogtreecommitdiff
path: root/lib
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
commit35c41ad2b34de38a4cfac11911bf6de09f60e419 (patch)
treebffe8aada9bf1a0f68fd8bc2937bf687d629cd37 /lib
parent8e2b9d6c2dfe0cf399cffe81b200594610bc2446 (diff)
Minor indentation fixup.
Diffstat (limited to 'lib')
-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 = []