Commit 381b5e3d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Change to GENIRESPONSE_FORBIDDEN when silver is not "ready" for a snapshot,

so that user sees the message (but not us). I feel like we should add a new
parent 867dccb1
......@@ -3043,7 +3043,7 @@ sub CreateImage($)
"Could not compute status for sliver");
if ($status ne "ready") {
return GeniResponse->Create(GENIRESPONSE_SEARCHFAILED, undef,
return GeniResponse->Create(GENIRESPONSE_FORBIDDEN, undef,
"sliver is not ready");
my $node_id = $sliver->resource_id();
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