cncflora_commons 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cncflora_commons.rb +1 -1
- metadata +1 -1
data/lib/cncflora_commons.rb
CHANGED
|
@@ -189,7 +189,7 @@ def onchange(etcd,prefix="")
|
|
|
189
189
|
Thread.new do
|
|
190
190
|
last = ""
|
|
191
191
|
while true do
|
|
192
|
-
actual = http_get"#{ etcd }/v2/keys/?recursive=true")
|
|
192
|
+
actual = http_get("#{ etcd }/v2/keys/?recursive=true")
|
|
193
193
|
if actual != last then
|
|
194
194
|
yield etcd2config(etcd,prefix)
|
|
195
195
|
last = actual
|