Fix bug in list images example

This commit is contained in:
Nat Welch 2013-10-10 22:24:36 -07:00
parent 46076c9c8f
commit bad4f4c5e0
1 changed files with 1 additions and 2 deletions

View File

@ -19,9 +19,8 @@ def test
if custom_img_name if custom_img_name
# puts 'Fetching a single image from the custom project' # puts 'Fetching a single image from the custom project'
# puts '----------------------------------------------' # 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 raise 'Could not GET the (custom) image' unless img
# puts img.inspect # puts img.inspect
end end
end end