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:
parent
126a4eabda
commit
cee738d3af
@ -214,7 +214,7 @@ class ImageBuild(BaseModel):
|
||||
|
||||
@property
|
||||
def formats(self):
|
||||
return self._formats
|
||||
return sorted(self._formats)
|
||||
|
||||
@formats.setter
|
||||
def formats(self, value):
|
||||
|
Loading…
Reference in New Issue
Block a user