Revision 15c05cb7 snf-cyclades-app/synnefo/api/management/commands/server-list.py
b/snf-cyclades-app/synnefo/api/management/commands/server-list.py | ||
---|---|---|
120 | 120 |
self.filters["operstate"] = "BUILD" |
121 | 121 |
|
122 | 122 |
if options["image_name"]: |
123 |
self.fields.replace("image.id", "image.name") |
|
123 |
self.fields = ["id", "name", "user.uuid", "state", "flavor", |
|
124 |
"image.name", "backend"] |
|
124 | 125 |
|
125 | 126 |
def handle_db_objects(self, rows, *args, **kwargs): |
126 | 127 |
icache = ImageCache() |
Also available in: Unified diff