#789: configured only providers
This commit is contained in:
parent
4fdde73a5d
commit
f452b1aa32
@ -32,10 +32,10 @@ module Provider
|
||||
["ec2", "openstack", "static"].each do |p|
|
||||
begin
|
||||
o = Provider.const_get(p.capitalize).new(conf)
|
||||
#if o.configured?
|
||||
if o.configured?
|
||||
@@providers[p] = o
|
||||
puts "Provider '#{p}' has been loaded"
|
||||
#end
|
||||
end
|
||||
factory = Provider.const_get(p.capitalize + "AccountsFactory").new
|
||||
factory.init(conf)
|
||||
@@providers_with_accounts_factories[p] = factory
|
||||
|
||||
Loading…
Reference in New Issue
Block a user