Commit 3a1f885b authored by Jonathon Duerig's avatar Jonathon Duerig

Bugfix: Unlock in CreateSliver if start fails. That way the user can still...

Bugfix: Unlock in CreateSliver if start fails. That way the user can still delete their own sliver no matter what.
parent d59ad976
......@@ -356,6 +356,7 @@ sub CreateSliver($)
Node->FlushAll();
if ($aggregate->Start($API_VERSION, 0) != 0) {
$slice->UnLock();
return GeniResponse->Create(GENIRESPONSE_ERROR, undef,
"Could not start sliver");
}
......
Markdown is supported
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