rbd: fix error message
This commit is contained in:
committed by
Dietmar Maurer
parent
dbf890f082
commit
72e743bd65
@ -520,7 +520,7 @@ sub deactivate_volume {
|
|||||||
return if ! -b $path;
|
return if ! -b $path;
|
||||||
|
|
||||||
my $cmd = &$rbd_cmd($scfg, $storeid, 'unmap', $path);
|
my $cmd = &$rbd_cmd($scfg, $storeid, 'unmap', $path);
|
||||||
run_rbd_command($cmd, errmsg => "can't unmount rbd volume $name");
|
run_rbd_command($cmd, errmsg => "can't unmap rbd volume $name");
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user