Commit 3f826a40 authored by Mike Hibler's avatar Mike Hibler

Fix the RE for parsing vnode names: names can have dashes in them.

parent 3ba4addb
......@@ -284,7 +284,7 @@ sub vnodeCreate($$$$)
# Create vmid from the vnode's name.
my $vmid;
if ($vnode_id =~ /^\w+\-(\d+)$/) {
if ($vnode_id =~ /^[-\w]+\-(\d+)$/) {
$vmid = $1;
} else {
fatal("blockstore_vnodeCreate: ".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment