Method: NCC::Connection::OpenStack#instance_ip_address
- Defined in:
- lib/ncc/connection/openstack.rb
#instance_ip_address(server) ⇒ Object
100 101 102 103 104 105 106 107 108 |
# File 'lib/ncc/connection/openstack.rb', line 100 def instance_ip_address(server) begin server.private_ip_address.to_s rescue StandardError => err # Fog collapses badly when you just ask it for this # field which isn't there (yet?) nil end end |