[pve-devel] [PATCH storage] rbd: fix error message

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Apr 11 12:52:42 CEST 2016


---
 PVE/Storage/RBDPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index 35692fd..967ee04 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage/RBDPlugin.pm
@@ -520,7 +520,7 @@ sub deactivate_volume {
     return if ! -b $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;
 }
-- 
2.1.4





More information about the pve-devel mailing list