lib/fog/openstack/requests/network/create_floating_ip.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/openstack/requests/network/create_floating_ip.rb in fog-maestrodev-1.18.0.20131111203459

- old
+ new

@@ -4,13 +4,10 @@ class Real def create_floating_ip(floating_network_id, options = {}) data = { 'floatingip' => { - 'floating_network_id' => floating_network_id, - 'port_id' => options[:port_id], - 'tenant_id' => options[:tenant_id], - 'fixed_ip_address' => options[:fixed_ip_address], + 'floating_network_id' => floating_network_id } } vanilla_options = [:port_id, :tenant_id, :fixed_ip_address ] vanilla_options.reject{ |o| options[o].nil? }.each do |key|