Explorar el Código

Accounting for IPs attached to a NetInterface but no Instance

almahmoud hace 7 años
padre
commit
66fd4ad334
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cloudbridge/cloud/providers/aws/resources.py

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

@@ -1155,7 +1155,7 @@ class AWSFloatingIP(BaseFloatingIP):
 
     @property
     def in_use(self):
-        return True if self._ip.instance_id else False
+        return True if self._ip.association_id else False
 
     def delete(self):
         self._ip.release()