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
d83a6690
Commit
d83a6690
authored
Feb 17, 2011
by
Leigh B Stoller
Browse files
Minor tweak to AM CreateSliver so that it handles the way
GeniCMV2::CreateSliver now forks a child to to the startsliver.
parent
f6574db8
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAM.pm.in
View file @
d83a6690
#
!/usr/bin/perl -wT
#
#
GENIPUBLIC
-
COPYRIGHT
#
Copyright
(
c
)
2008
-
201
0
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2008
-
201
1
University
of
Utah
and
the
Flux
Group
.
#
All
rights
reserved
.
#
package
GeniAM
;
...
...
@@ -224,6 +224,11 @@ sub CreateSliver()
};
my $response = GeniCMV2::CreateSliver($create_args);
if (!ref($response)) {
# This is cause GeniCMV2::CreateSliver does a fork, and the child
# returns plain status code, which should go to our caller.
return $response;
}
if (GeniResponse::IsError($response)) {
# The create failed, so return the response.
return $response
...
...
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