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
7a34c981
Commit
7a34c981
authored
Jul 06, 2010
by
Jonathon Duerig
Browse files
BUG FIX: When starting a sliver, state "new" means the same thing as "stopped"
parent
2cb89492
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCMV2.pm.in
View file @
7a34c981
...
...
@@ -677,7 +677,8 @@ sub SliverAction($$$$$)
my
($
object
,
$
action
)
=
@
_
;
if
($
action
eq
"start"
)
{
if
($
object
->
state
()
ne
"stopped"
&&
$
object
->
state
()
ne
"mixed"
)
{
if
($
object
->
state
()
ne
"stopped"
&&
$
object
->
state
()
ne
"new"
&&
$
object
->
state
()
ne
"mixed"
)
{
return
GeniResponse
->
Create
(
GENIRESPONSE_REFUSED
,
undef
,
"Sliver is not stopped (yet)"
);
}
...
...
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