aggkit 0.4.6.13035 → 0.4.6.13038

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/bin/aggwait +4 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc41d1a529e9abaa8a424db2024abd58b6da1f417387abdd1faa4c91a5656fbd
4
- data.tar.gz: 80ac8d7e82efad5d5bb93804acee4e37ec554faecd4720345b613a24b1cacb99
3
+ metadata.gz: bee1500902319c0f1abf5744824db05272fed059e79be7329979c707c216bfc9
4
+ data.tar.gz: 29a4d1165149b88ca4dd46b9ca46dbcda2724e772adab18840445a1e5604fe49
5
5
  SHA512:
6
- metadata.gz: 9b0b7d463c041872ffd60971f2af4e39295ffc688ba4a49b504e834237a02d9267f3f162878a31a1c9a4cfb58a294cc2768693c89f92da52efa46709db966b49
7
- data.tar.gz: e2ed1577dabc96603df538ed92e8bb384418d202540530e8d558ed26efb6359d456edee1c35657eb7e67b571bac83bbd7bc06398c3973e0a65f2a733d06cbc92
6
+ metadata.gz: 1e05752efe0a33c12db4e901a2daa15234af5f093de961ac300f31e0453f282db3993649a2f6ab86fbf8260cd3adaa21ae79ad981e457cb200cad68818e88290
7
+ data.tar.gz: 8f6d75dcf9e3df3f744e0d5b1801ac80fbda60ad626990fc6378b15ba07c5b1ce5276bbfcdc1b7b5913269be54e6f9881caf87f72b6efa0582f8c026ab6d711e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aggkit (0.4.6.13035)
4
+ aggkit (0.4.6.13038)
5
5
  diplomat
6
6
  dotenv
7
7
  json
data/bin/aggwait CHANGED
@@ -96,11 +96,11 @@ OptionParser.new do |o|
96
96
  @opts[:timeout] = timeout.to_i
97
97
  end
98
98
 
99
- o.on('-e', '--timeout secs=15', 'Total timeout') do |timeout|
100
- @opts[:timeout] = timeout.to_i
99
+ o.on('-i', '--interval secs=2', 'Interval between attempts') do |interval|
100
+ @opts[:interval] = interval.to_i
101
101
  end
102
102
 
103
- o.on('-i', '--error=msg', 'error message on failure') do |error|
103
+ o.on('-e', '--error=msg', 'error message on failure') do |error|
104
104
  @opts[:error] = error.to_s
105
105
  end
106
106
 
@@ -161,7 +161,7 @@ def complete!(success)
161
161
  end
162
162
 
163
163
  def wait_for_consul
164
- log('Waiting for consul...')
164
+ log("Waiting for consul on #{@opts[:consul_addr]}...")
165
165
  ret = wait_for @opts[:timeout] do
166
166
  cmd = "consul operator raft list-peers -http-addr=#{@opts[:consul_addr]} > /dev/null 2>&1"
167
167
  system(cmd)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6.13035
4
+ version: 0.4.6.13038
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan