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

[glesys] Return nil if there isn't any public ip address

This commit is contained in:
Simon Gate 2013-02-01 17:06:37 +01:00
parent 42b08820bd
commit 843a03962c

View file

@ -108,6 +108,8 @@ module Fog
def public_ip_address(options = {})
return nil if iplist.nil?
type = options[:type] || nil
ips = case type