cncflora_commons 0.0.24 → 0.0.25

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/cncflora_commons.rb +1 -0
  2. metadata +1 -1
@@ -129,6 +129,7 @@ def setup(file)
129
129
  set :etcd, "http://#{ENV["ETCD_PORT_4001_TCP_ADDR"]}:#{ENV["ETCD_PORT_4001_TCP_PORT"]}"
130
130
  elsif ENV["ETCD"] then
131
131
  set :etcd, ENV["ETCD"]
132
+ elsif settings.etcd then
132
133
  else
133
134
  set :etcd, "http://localhost:4001"
134
135
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cncflora_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: