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:
parent
fae5d3357a
commit
ffb6af9648
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue