Fix bug in list images example
This commit is contained in:
parent
46076c9c8f
commit
bad4f4c5e0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue