mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace] fix images#get in the models
This commit is contained in:
parent
deff0fd2be
commit
f31dbaa3ca
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ module Fog
|
|||
end
|
||||
|
||||
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
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue