1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1934 from frodenas/openstack_images

[openstack|image] Fix image reload
This commit is contained in:
Wesley Beary 2013-07-03 10:04:24 -07:00
commit b9c30df2f0

View file

@ -16,7 +16,7 @@ module Fog
end
def find_by_id(id)
self.find {|image| image.id == id}
all.find {|image| image.id == id}
end
alias_method :get, :find_by_id