lib/rubber/cloud/digital_ocean.rb in rubber-2.6.1 vs lib/rubber/cloud/digital_ocean.rb in rubber-2.6.2
- old
+ new
@@ -77,11 +77,11 @@
response.each do |item|
instance = {}
instance[:id] = item.id
instance[:state] = item.state
instance[:type] = item.flavor_id
- instance[:external_ip] = item.ip_address
- instance[:internal_ip] = item.ip_address
+ instance[:external_ip] = item.public_ip_address
+ instance[:internal_ip] = item.public_ip_address
instance[:region_id] = item.region_id
instance[:provider] = 'digital_ocean'
instance[:platform] = 'linux'
instances << instance
end