Skip to content

Commit

Permalink
fix space
Browse files Browse the repository at this point in the history
  • Loading branch information
kai101 committed Jul 26, 2016
1 parent 268d8a5 commit 0798672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check-ping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class CheckPING < Sensu::Plugin::Check::CLI
def run
result = []
pt = Net::Ping::External.new(config[:host], nil, config[:timeout])

config[:count].times do |i|
sleep(config[:interval]) unless i == 0
result[i] = config[:ipv6] ? pt.ping6 : pt.ping
Expand Down

0 comments on commit 0798672

Please sign in to comment.