elbping 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/elbping/display.rb +1 -1
- data/lib/elbping/pinger.rb +4 -0
- metadata +1 -1
data/lib/elbping/display.rb
CHANGED
@@ -7,7 +7,7 @@ module ElbPing
|
|
7
7
|
code = status[:code]
|
8
8
|
duration = status[:duration]
|
9
9
|
exc = status[:exception]
|
10
|
-
exc_display = exc ?
|
10
|
+
exc_display = exc ? "exception=#{exc}" : ''
|
11
11
|
|
12
12
|
puts "Response from #{node}: code=#{code.to_s} time=#{duration} ms #{exc_display}"
|
13
13
|
end
|
data/lib/elbping/pinger.rb
CHANGED