1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

clean up public_ip_address code for linode

This commit is contained in:
Nicholas Ricketts 2011-10-05 18:13:24 -04:00
parent fae5d3357a
commit ffb6af9648

View file

@ -20,7 +20,7 @@ module Fog
end
def public_ip_address
ips.select{|ip| ip.ip !~ /^192/}.first.ip
ips.find{|ip| ip.ip !~ /^192/}.ip
end
def disks