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
d4417202
Commit
d4417202
authored
Jun 05, 2009
by
Leigh B. Stoller
Browse files
Allow BusyResponse to add a message to indicate what is busy.
parent
eb6db7d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/xmlrpc/GeniResponse.pm
View file @
d4417202
...
...
@@ -114,10 +114,15 @@ sub MalformedArgsResponse($)
undef
,
"
Malformed arguments to method
");
}
sub
BusyResponse
($)
sub
BusyResponse
($
;
$
)
{
my
(
undef
,
$resource
)
=
@_
;
$resource
=
"
resource
"
if
(
!
defined
(
$resource
));
return
GeniResponse
->
Create
(
GENIRESPONSE_BUSY
,
undef
,
"
resource is busy; try again later
");
undef
,
"
$
resource
is busy; try again later
");
}
sub
BadArgsResponse
(
;
$
)
...
...
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