From 41b52ba6aa3eb89ccdb664d631fc81d581c7da8a Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Tue, 15 Oct 2013 18:01:07 -0400 Subject: [PATCH] [hp|compute_v2] Fix a minor bug. --- lib/fog/hp/models/compute_v2/server.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/hp/models/compute_v2/server.rb b/lib/fog/hp/models/compute_v2/server.rb index 767bc09d3..971f2db47 100644 --- a/lib/fog/hp/models/compute_v2/server.rb +++ b/lib/fog/hp/models/compute_v2/server.rb @@ -120,7 +120,7 @@ module Fog end def private_ip_address - private_ip_addresses.first + private_ip_addresses.first if private_ip_addresses end def private_key_path @@ -148,7 +148,7 @@ module Fog end def public_ip_address - public_ip_addresses.first + public_ip_addresses.first if public_ip_addresses end def public_key_path