mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[hp|compute_v2] Fix a minor bug.
This commit is contained in:
parent
cc25048e48
commit
41b52ba6aa
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def private_ip_address
|
def private_ip_address
|
||||||
private_ip_addresses.first
|
private_ip_addresses.first if private_ip_addresses
|
||||||
end
|
end
|
||||||
|
|
||||||
def private_key_path
|
def private_key_path
|
||||||
|
@ -148,7 +148,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def public_ip_address
|
def public_ip_address
|
||||||
public_ip_addresses.first
|
public_ip_addresses.first if public_ip_addresses
|
||||||
end
|
end
|
||||||
|
|
||||||
def public_key_path
|
def public_key_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue