sheepdog : volume_resize : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
61b8ccc917
commit
fddfc53873
@ -378,8 +378,11 @@ sub volume_size_info {
|
|||||||
sub volume_resize {
|
sub volume_resize {
|
||||||
my ($class, $scfg, $storeid, $volname, $size, $running) = @_;
|
my ($class, $scfg, $storeid, $volname, $size, $running) = @_;
|
||||||
|
|
||||||
my $cmd = &$collie_cmd($scfg, 'vdi', 'resize' , $volname, $size);
|
my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =
|
||||||
run_command($cmd, errmsg => "sheepdog resize $volname' error");
|
$class->parse_volname($volname);
|
||||||
|
|
||||||
|
my $cmd = &$collie_cmd($scfg, 'vdi', 'resize' , $name, $size);
|
||||||
|
run_command($cmd, errmsg => "sheepdog resize $name' error");
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user