Revision 843ea5cb
Added by Amos Benari almost 11 years ago
- ID 843ea5cbc7341e31a36341906b0d63b153370fe4
lib/foreman/model/ec2.rb | ||
---|---|---|
client.flavors
|
||
end
|
||
|
||
def test_connection
|
||
def test_connection options = {}
|
||
super
|
||
errors[:user].empty? and errors[:password].empty? and regions
|
||
rescue Fog::Compute::AWS::Error => e
|
Also available in: Unified diff
fixes #2656 error connecting to vsphere after upgrade to ruby 1.9.3
(cherry picked from commit 617ee75f8c0f8d239564f3fd48d92a2d772eeb8b)