Commit 9140cebc authored by Leigh B Stoller's avatar Leigh B Stoller

Change return code in sliverstatus; SEARCHFAILED if no such sliver.

parent 7ca8ea57
......@@ -805,7 +805,7 @@ sub SliverStatus($)
#
my ($slice, $aggregate) = Credential2SliceAggregate($credential);
if (! (defined($slice) && defined($aggregate))) {
return GeniResponse->Create(GENIRESPONSE_BADARGS, undef,
return GeniResponse->Create(GENIRESPONSE_SEARCHFAILED, undef,
"No slice or aggregate here");
}
if ($slice_urn ne $slice->urn()) {
......
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