Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
fceada41
Commit
fceada41
authored
Jun 26, 2012
by
Leigh B Stoller
Browse files
Minor tweak to node_id regex.
parent
8317cc2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/openvz/libvnode_openvz.pm
View file @
fceada41
...
...
@@ -705,7 +705,7 @@ sub vz_vnodeCreate {
my
$reload_args_ref
=
$vnconfig
->
{'
reloadinfo
'};
my
$vmid
;
if
(
$vnode_id
=~
/^
\w+\d
+\-(\d+)$/
)
{
if
(
$vnode_id
=~
/^
[-\w]
+\-(\d+)$/
)
{
$vmid
=
$
1
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment