has_feature : template

for plugin-rbd-sheepdog-nexenta

+ indentation fix

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier
2013-02-16 08:52:07 +01:00
committed by Dietmar Maurer
parent 2c5a70971a
commit 5649ccfe89
4 changed files with 11 additions and 7 deletions

View File

@ -481,7 +481,8 @@ sub volume_has_feature {
my $features = {
snapshot => { current => 1, snap => 1},
clone => { base => 1},
copy => { base => 1, current => 1},
template => { current => 1},
copy => { base => 1, current => 1},
};
my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =