From bad4f4c5e05fece60b966aa0babd9c137acbe3cf Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Thu, 10 Oct 2013 22:24:36 -0700 Subject: [PATCH] Fix bug in list images example --- lib/fog/google/examples/get_list_images.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fog/google/examples/get_list_images.rb b/lib/fog/google/examples/get_list_images.rb index e667ee163..dfad2411b 100644 --- a/lib/fog/google/examples/get_list_images.rb +++ b/lib/fog/google/examples/get_list_images.rb @@ -19,9 +19,8 @@ def test if custom_img_name # puts 'Fetching a single image from the custom project' # puts '----------------------------------------------' - img = connection.images.get(custom_img_name) + img = connection.images.get(custom_img_name.name) raise 'Could not GET the (custom) image' unless img # puts img.inspect end - end