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
e99ded80
Commit
e99ded80
authored
May 13, 2014
by
Leigh B Stoller
Browse files
Fix insufficient bandwidth regex.
parent
21cf1a82
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
e99ded80
...
...
@@ -2220,7 +2220,8 @@ sub GetTicketAuxAux($$$$$$$$$$)
$
violations
.=
$
line
;
#
Attempt
to
parse
the
violations
into
something
human
readable
.
if
($
line
=~
/
no_connect
:\
s
*
1
/
||
$
line
=~
/
bandwidth
:\
s
*
1
/)
{
if
($
line
=~
/
no_connect
:\
s
*\
d
*/
||
$
line
=~
/
bandwidth
:\
s
*\
d
*/)
{
$
errorstr
=
"Not enough bandwidth to connect some nodes"
;
$
errorcode
=
GENIRESPONSE_INSUFFICIENT_BANDWIDTH
();
}
...
...
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