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

Add the parser in, and remove spurious response entry

This commit is contained in:
Caleb Tennis 2010-07-30 15:44:17 -04:00 committed by geemus
parent 2d23d4a90e
commit 43f50c407e

View file

@ -29,7 +29,6 @@ module Fog
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * 'return'<~Boolean> - Returns true if deregistration succeeded
# * 'imageId'<~String> - Id of newly created AMI
def register_image(name, description, location, block_devices=[], options={})
@ -37,6 +36,7 @@ module Fog
'Action' => 'RegisterImage',
'Name' => name,
'Description' => description,
:parser => Fog::Parsers::AWS::EC2::RegisterImage.new
}
# This determines if we are doing a snapshot or a S3 backed AMI.