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
7eb4d8ef
Commit
7eb4d8ef
authored
Jun 28, 2013
by
Christos Stavrakakis
Browse files
cyclades: Fix --image-name option in server-list
parent
e673d189
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/management/commands/server-list.py
View file @
7eb4d8ef
...
...
@@ -120,8 +120,8 @@ class Command(ListCommand):
self
.
filters
[
"operstate"
]
=
"BUILD"
if
options
[
"image_name"
]:
self
.
fields
=
[
"i
d"
,
"name"
,
"user.uuid"
,
"state"
,
"flavor"
,
"image.name"
,
"backend"
]
self
.
fields
=
[
"i
mage.name"
if
x
==
"image.id"
else
x
for
x
in
self
.
fields
]
def
handle_db_objects
(
self
,
rows
,
*
args
,
**
kwargs
):
icache
=
ImageCache
()
...
...
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