elbping 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/elbping/cli.rb +4 -4
  2. metadata +1 -1
data/lib/elbping/cli.rb CHANGED
@@ -85,9 +85,9 @@ module ElbPing
85
85
  exit
86
86
  }
87
87
 
88
- i = 0
89
- while OPTIONS[:count] < 1 || i < OPTIONS[:count]
90
- sleep OPTIONS[:wait] if i > 0
88
+ iteration = 0
89
+ while OPTIONS[:count] < 1 || iteration < OPTIONS[:count]
90
+ sleep OPTIONS[:wait] if iteration > 0
91
91
 
92
92
  nodes.map { |node|
93
93
  total_summary[:reqs_attempted] += 1
@@ -102,8 +102,8 @@ module ElbPing
102
102
  end
103
103
 
104
104
  ElbPing::Display.response(status)
105
- i += 1
106
105
  }
106
+ iteration += 1
107
107
  end
108
108
  ElbPing::Display.summary(total_summary, node_summary)
109
109
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elbping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: