Sort formats results from zookeeper

This is to help user readability, today dib-image-list can return
unsorted results for dib-image-list, making it difficult to read.

Change-Id: Iadf31347ee5310e9c021e985b61774011f77ed87
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-02-20 19:20:47 -05:00
parent 126a4eabda
commit cee738d3af
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class ImageBuild(BaseModel):
@property
def formats(self):
return self._formats
return sorted(self._formats)
@formats.setter
def formats(self, value):