mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[stormondemand|compute] Fix the get parameters
This commit is contained in:
parent
e16482b7d1
commit
9b6d00f14c
1 changed files with 2 additions and 3 deletions
|
@ -14,9 +14,8 @@ module Fog
|
|||
true
|
||||
end
|
||||
|
||||
def get
|
||||
requires :identity
|
||||
img = service.get_image_details(:id => identity).body
|
||||
def get(image_id)
|
||||
img = service.get_image_details(:id => image_id).body
|
||||
new(img)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue