mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #720 from rightscale/rs_1.1.2
Rackspace create_image request - pass all options
This commit is contained in:
commit
589c4d83d9
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,7 @@ module Fog
|
|||
'serverId' => server_id
|
||||
}
|
||||
}
|
||||
if options['name']
|
||||
data['image']['name'] = options['name']
|
||||
end
|
||||
data['image'].merge!(options)
|
||||
request(
|
||||
:body => MultiJson.encode(data),
|
||||
:expects => 202,
|
||||
|
|
Loading…
Reference in a new issue