Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
a426133f
Commit
a426133f
authored
Dec 16, 2013
by
Ilias Tsitsimpis
Browse files
snf-ci: Fix a typo with `network_id'
parent
32411604
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci/utils.py
View file @
a426133f
...
...
@@ -476,9 +476,9 @@ class SynnefoCI(object):
if
n
[
'network_id'
]
in
private_networks
]
else
:
# Choose the networks that are public
networks
=
\
[
n
for
n
i
n
se
rver
[
'attachments'
]
if
self
.
network_client
.
get_network_details
(
n
[
'id'
])[
'public'
]]
networks
=
[
n
for
n
in
server
[
'attachments'
]
i
f
se
lf
.
network_client
.
get_network_details
(
n
[
'
network_
id'
])[
'public'
]]
# Choose the networks with IPv4
networks
=
[
n
for
n
in
networks
if
n
[
'ipv4'
]]
# Use the first network as IPv4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment