mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Update lib/fog/hp/models/compute_v2/server.rb
This commit is contained in:
parent
2413b34cc5
commit
99f41d9f8c
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,8 @@ module Fog
|
|||
# so this below does not work in 1.8.7
|
||||
#net.keys.first
|
||||
# this is compatible to 1.8.7 and 1.9+
|
||||
return '' if net.nil?
|
||||
return '' if net.first.nil?
|
||||
net.first[0]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue