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-stable
Commits
007801ab
Commit
007801ab
authored
Jan 26, 2010
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
cc613143
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
007801ab
...
...
@@ -2763,14 +2763,13 @@ sub DeleteSlice($)
"Insufficient privilege"
);
#
#
See
if
we
have
a
record
of
this
slice
in
the
DB
.
If
not
,
then
we
have
#
to
go
to
the
ClearingHouse
to
find
its
record
,
so
that
we
can
find
out
#
who
the
SA
for
it
is
.
#
See
if
we
have
a
record
of
this
slice
in
the
DB
.
Might
have
been
#
expired
out
already
.
#
my
$
slice
=
GeniSlice
->
Lookup
($
slice_uuid
);
if
(
!defined($slice)) {
return
GeniResponse
->
Create
(
GENIRESPONSE_
BADARGS
,
undef
,
"No
such
slice
on
th
is component: $slice_uuid
"
);
return
GeniResponse
->
Create
(
GENIRESPONSE_
SEARCHFAILED
,
undef
,
"No slice
by
th
at name
"
);
}
if
($
slice
->
Lock
()
!= 0) {
return
GeniResponse
->
BusyResponse
();
...
...
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