summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--snaps/domain/network.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/snaps/domain/network.py b/snaps/domain/network.py
index a028e2b..9f634aa 100644
--- a/snaps/domain/network.py
+++ b/snaps/domain/network.py
@@ -186,8 +186,7 @@ class Router:
self.port_subnets = kwargs.get('port_subnets')
if (kwargs.get('external_gateway_info') and
- isinstance(kwargs.get('external_gateway_info'), dict) and
- kwargs.get('external_gateway_info').get('external_fixed_ips')):
+ isinstance(kwargs.get('external_gateway_info'), dict)):
gateway_info = kwargs.get('external_gateway_info')
self.external_network_id = gateway_info.get('network_id')