parse_volname: always return image format

This commit is contained in:
Dietmar Maurer
2015-08-12 07:01:07 +02:00
parent 55525ad265
commit 7800e84d28
6 changed files with 6 additions and 6 deletions

View File

@ -271,7 +271,7 @@ sub parse_volname {
my ($class, $volname) = @_;
if ($volname =~ m!^\d+\.\d+\.\d+\.(\S+)$!) {
return ('images', $1, undef);
return ('images', $1, undef, undef, undef, undef, 'raw');
}
die "unable to parse iscsi volume name '$volname'\n";