diff --git a/lib/fog/openstack/models/network/floating_ips.rb b/lib/fog/openstack/models/network/floating_ips.rb index e27e322ea..a97253bef 100644 --- a/lib/fog/openstack/models/network/floating_ips.rb +++ b/lib/fog/openstack/models/network/floating_ips.rb @@ -20,7 +20,7 @@ module Fog end def get(floating_network_id) - if floating_ip = connection.get_floating_ip(floating_network_id).body['floatingip'] + if floating_ip = service.get_floating_ip(floating_network_id).body['floatingip'] new(floating_ip) end rescue Fog::Network::OpenStack::NotFound