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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/aggwait +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bee1500902319c0f1abf5744824db05272fed059e79be7329979c707c216bfc9
|
4
|
+
data.tar.gz: 29a4d1165149b88ca4dd46b9ca46dbcda2724e772adab18840445a1e5604fe49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e05752efe0a33c12db4e901a2daa15234af5f093de961ac300f31e0453f282db3993649a2f6ab86fbf8260cd3adaa21ae79ad981e457cb200cad68818e88290
|
7
|
+
data.tar.gz: 8f6d75dcf9e3df3f744e0d5b1801ac80fbda60ad626990fc6378b15ba07c5b1ce5276bbfcdc1b7b5913269be54e6f9881caf87f72b6efa0582f8c026ab6d711e
|
data/Gemfile.lock
CHANGED
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('-
|
100
|
-
@opts[:
|
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('-
|
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(
|
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)
|