1
0
Fork 0
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:
Wesley Beary 2012-02-01 09:25:56 -08:00
commit 589c4d83d9

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,