Explorar el Código

Fixed issue with floating ip refresh in openstack

Nuwan Goonasekera hace 8 años
padre
commit
70cb31311d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cloudbridge/cloud/providers/openstack/resources.py

+ 1 - 1
cloudbridge/cloud/providers/openstack/resources.py

@@ -956,7 +956,7 @@ class OpenStackFloatingIP(BaseFloatingIP):
     def refresh(self):
         net = self._provider.networking.networks.get(
             self._ip.floating_network_id)
-        gw = net.gateways.get_or_create_inet_gateway(net)
+        gw = net.gateways.get_or_create_inet_gateway()
         fip = gw.floating_ips.get(self.id)
         # pylint:disable=protected-access
         self._ip = fip._ip