Commit 00482a74 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix to previous revision.

parent f3432688
......@@ -1166,12 +1166,14 @@ sub SliverStatus($)
}
$blob->{'details'}->{$sliver_urn} = {
"component_urn" => $resource_id,
"rawstate" => (defined($sliver->rawstate()) ?
$sliver->rawstate() : "unknown"),
"state" => $state,
"status" => $status,
"error" => $error,
};
if (ref($sliver) eq "GeniSliver::Node" &&
defined($sliver->rawstate())) {
$blob->{'rawstate'} = $sliver->rawstate();
}
}
$slice->UnLock();
return GeniResponse->Create(GENIRESPONSE_SUCCESS, $blob);
......
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