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:
parent
2d23d4a90e
commit
43f50c407e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,6 @@ module Fog
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Excon::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'return'<~Boolean> - Returns true if deregistration succeeded
|
|
||||||
# * 'imageId'<~String> - Id of newly created AMI
|
# * 'imageId'<~String> - Id of newly created AMI
|
||||||
|
|
||||||
def register_image(name, description, location, block_devices=[], options={})
|
def register_image(name, description, location, block_devices=[], options={})
|
||||||
|
@ -37,6 +36,7 @@ module Fog
|
||||||
'Action' => 'RegisterImage',
|
'Action' => 'RegisterImage',
|
||||||
'Name' => name,
|
'Name' => name,
|
||||||
'Description' => description,
|
'Description' => description,
|
||||||
|
:parser => Fog::Parsers::AWS::EC2::RegisterImage.new
|
||||||
}
|
}
|
||||||
|
|
||||||
# This determines if we are doing a snapshot or a S3 backed AMI.
|
# This determines if we are doing a snapshot or a S3 backed AMI.
|
||||||
|
|
Loading…
Add table
Reference in a new issue