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

@ -124,7 +124,7 @@ sub parse_volname {
my ($class, $volname) = @_;
if ($volname =~ m/^((base-(\d+)-\S+)\/)?((base)?(vm)?-(\d+)-\S+)$/) {
return ('images', $4, $7, $2, $3, $5);
return ('images', $4, $7, $2, $3, $5, 'raw');
}
die "unable to parse sheepdog volume name '$volname'\n";