Skip to content
GitLab
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
9645f36f
Commit
9645f36f
authored
Apr 25, 2014
by
Leigh B Stoller
Browse files
Minor change to error strings.
parent
ddb0288b
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
9645f36f
...
...
@@ -2527,7 +2527,7 @@ sub GetTicketAuxAux($$$$$$$$$$)
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_VLAN_UNAVAILABLE
,
undef
,
"
Could not find a free
vlan tag for $linkname"
);
"
Error reserving
vlan tag for $linkname"
);
goto
bad
;
}
print
STDERR
...
...
@@ -2540,7 +2540,7 @@ sub GetTicketAuxAux($$$$$$$$$$)
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_VLAN_UNAVAILABLE
,
undef
,
"Could not
reserv
e a
vlan tag for $linkname"
);
"Error
reserv
ing
vlan tag for $linkname"
);
goto
bad
;
}
$
vlan
->
Destroy
()
...
...
@@ -2551,7 +2551,7 @@ sub GetTicketAuxAux($$$$$$$$$$)
print
STDERR
"Did not find the reserved tag for $linkname
\n
"
;
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_VLAN_UNAVAILABLE
,
undef
,
"
Could not
reserv
e a
vlan tag for $linkname"
);
"
Error
reserv
ing
vlan tag for $linkname"
);
goto
bad
;
}
print
STDERR
"Got tag $tag for $linkname
\n
"
;
...
...
@@ -2676,8 +2676,9 @@ sub GetTicketAuxAux($$$$$$$$$$)
}
#
This
should
not
happen
.
print
STDERR
"Did not find the reserved tag for $linkname
\n
"
;
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_ERROR
,
undef
,
"Error reserving vlan tag"
);
$
response
=
GeniResponse
->
Create
(
GENIRESPONSE_VLAN_UNAVAILABLE
,
undef
,
"Error reserving vlan tag for $linkname"
);
goto
bad
;
}
#
Try
again
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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