mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
some ipv6_only corrections
This commit is contained in:
parent
f5592dca02
commit
34e0318037
2 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,7 @@ module Fog
|
|||
|
||||
options['username'] = username
|
||||
options['hostname'] = hostname if @hostname
|
||||
options['ipv6_only'] = ipv6_only if @ipv6_only
|
||||
options['ipv6_only'] = ipv6_only if ipv6_only
|
||||
data = service.create_block(flavor_id, image_id, location_id, options)
|
||||
merge_attributes(data.body)
|
||||
true
|
||||
|
|
|
@ -30,6 +30,8 @@ module Fog
|
|||
'location' => location_id
|
||||
}
|
||||
|
||||
query['ipv6_only'] = options.delete('ipv6_only') if options['ipv6_only']
|
||||
|
||||
request(
|
||||
:expects => 200,
|
||||
:method => 'POST',
|
||||
|
|
Loading…
Reference in a new issue