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

Rackspace create_image request - pass all options

This commit is contained in:
kbockmanrs 2012-01-31 19:55:28 +00:00
parent f383a7bf87
commit a68376a7ff

View file

@ -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,