1
0
Fork 0
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:
Josh Kalderimis 2013-04-18 13:14:22 +02:00
parent f5592dca02
commit 34e0318037
2 changed files with 3 additions and 1 deletions

View file

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

View file

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