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:
parent
f383a7bf87
commit
a68376a7ff
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,7 @@ module Fog
|
||||||
'serverId' => server_id
|
'serverId' => server_id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if options['name']
|
data['image'].merge!(options)
|
||||||
data['image']['name'] = options['name']
|
|
||||||
end
|
|
||||||
request(
|
request(
|
||||||
:body => MultiJson.encode(data),
|
:body => MultiJson.encode(data),
|
||||||
:expects => 202,
|
:expects => 202,
|
||||||
|
|
Loading…
Reference in a new issue