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
kamaki
Commits
00d76c0c
Commit
00d76c0c
authored
Jun 02, 2014
by
Stavros Sachtouris
Browse files
Fix typo in "servers list" flavor filter
parent
ab6fd07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/cmds/cyclades.py
View file @
00d76c0c
...
...
@@ -168,7 +168,7 @@ class server_list(_CycladesInit, OptionalOutput, NameFilter, IDFilter):
def
_filter_by_flavor
(
self
,
servers
):
fid
=
self
[
'flavor_id'
]
return
[
srv
for
srv
in
servers
if
(
'%s'
%
srv
[
'
image
'
][
'id'
]
==
'%s'
%
fid
)]
'%s'
%
srv
[
'
flavor
'
][
'id'
]
==
'%s'
%
fid
)]
def
_filter_by_metadata
(
self
,
servers
):
new_servers
=
[]
...
...
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