Commit a426133f authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

snf-ci: Fix a typo with `network_id'

parent 32411604
...@@ -476,9 +476,9 @@ class SynnefoCI(object): ...@@ -476,9 +476,9 @@ class SynnefoCI(object):
if n['network_id'] in private_networks] if n['network_id'] in private_networks]
else: else:
# Choose the networks that are public # Choose the networks that are public
networks = \ networks = [n for n in server['attachments']
[n for n in server['attachments'] if self.network_client.
if self.network_client.get_network_details(n['id'])['public']] get_network_details(n['network_id'])['public']]
# Choose the networks with IPv4 # Choose the networks with IPv4
networks = [n for n in networks if n['ipv4']] networks = [n for n in networks if n['ipv4']]
# Use the first network as IPv4 # Use the first network as IPv4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment