[rackspace] fix images#get in the models
This commit is contained in:
parent
deff0fd2be
commit
f31dbaa3ca
|
@ -36,7 +36,8 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def get(image_id)
|
def get(image_id)
|
||||||
connection.get_image_details(image_id)
|
data = connection.get_image_details(image_id).body['image']
|
||||||
|
new(data)
|
||||||
rescue Excon::Errors::NotFound
|
rescue Excon::Errors::NotFound
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue