sheepdog : list_images
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
b2f975cf1e
commit
b22af8eee9
@ -279,8 +279,14 @@ sub list_images {
|
||||
foreach my $image (keys %$dat) {
|
||||
|
||||
my $volname = $dat->{$image}->{name};
|
||||
my $parent = $dat->{$image}->{parent};
|
||||
|
||||
my $volid = "$storeid:$volname";
|
||||
my $volid = undef;
|
||||
if ($parent && $parent ne $volname) {
|
||||
$volid = "$storeid:$parent/$volname";
|
||||
} else {
|
||||
$volid = "$storeid:$volname";
|
||||
}
|
||||
|
||||
my $owner = $dat->{$volname}->{vmid};
|
||||
if ($vollist) {
|
||||
|
||||
Reference in New Issue
Block a user