ruby - Nil not turning into null in request on Fog -
afternoon stackoverflow,
i trying build network on openstack using fog & ruby network trying make getting made gateway, after readying api documents here says disable gateway on creation
set gateway_ip attribute null in request body
i tried following no luck
@openstack_network.subnets.create(:name => "my-network", :network_id => network.id, :cidr => '240.250.0.0/16', :ip_version => 4, :gateway_ip => nil) i tried setting 'null' , ''.
i'm bit stuck on try , how can appreciated!
i work on @ rackspace , maintain fog gem.
i looked on issue , found code automatically stripped nil values; openstack never hearing full request.
i've opened pull request aimed @ solving issue.
thank finding 3 year old bug! :)
Comments
Post a Comment