Commit 7a34c981 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

BUG FIX: When starting a sliver, state "new" means the same thing as "stopped"

parent 2cb89492
......@@ -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)");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment