]> git.proxmox.com Git - pve-storage.git/commitdiff
rbd: fix typo in error message
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 20 Apr 2021 08:14:01 +0000 (10:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Apr 2021 16:21:31 +0000 (18:21 +0200)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage/RBDPlugin.pm

index 42641e28911dc745c59f68de109c4bd992ed0114..a8d1243c50e1a950fbbe6aa88ac4953d6005b34e 100644 (file)
@@ -503,7 +503,7 @@ sub alloc_image {
     $name = $class->find_free_diskname($storeid, $scfg, $vmid) if !$name;
 
     my $cmd = $rbd_cmd->($scfg, $storeid, 'create', '--image-format' , 2, '--size', int(($size+1023)/1024), $name);
-    run_rbd_command($cmd, errmsg => "rbd create $name' error");
+    run_rbd_command($cmd, errmsg => "rbd create '$name' error");
 
     return $name;
 }