Revision adc82764
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 = ["id", "name", "user.uuid", "state", "flavor",
|
|
124 |
"image.name", "backend"]
|
|
123 |
self.fields = ["image.name" if x == "image.id" else x
|
|
124 |
for x in self.fields]
|
|
125 | 125 |
|
126 | 126 |
def handle_db_objects(self, rows, *args, **kwargs): |
127 | 127 |
icache = ImageCache() |
Also available in: Unified diff