rbd: list images: sort by keys when pushing on result array
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -545,7 +545,7 @@ sub list_images {
|
||||
my $res = [];
|
||||
|
||||
if (my $dat = $cache->{rbd}->{$pool}) {
|
||||
foreach my $image (keys %$dat) {
|
||||
for my $image (sort keys %$dat) {
|
||||
|
||||
my $info = $dat->{$image};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user