has_feature : fix key = snap
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
7e8c6888b2
commit
2c5a70971a
@ -407,7 +407,7 @@ sub volume_has_feature {
|
||||
|
||||
my $key = undef;
|
||||
if($snapname){
|
||||
$key = $snapname
|
||||
$key = 'snap';
|
||||
}else{
|
||||
$key = $isBase ? 'base' : 'current';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user