Commit 4988af49 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix for unblessed ref warning; need to return a blessed ref.

parent a2c69a18
......@@ -2257,13 +2257,13 @@ sub UpdateSliverStatusAll($$)
# Helper functions for below.
sub ContextError()
{
return GeniResponse->Create(GENIRESPONSE_ERROR(), undef,
"Could not generate context for RPC");
return GeniResponse->new(GENIRESPONSE_ERROR(), -1,
"Could not generate context for RPC");
}
sub CredentialError()
{
return GeniResponse->Create(GENIRESPONSE_ERROR(), undef,
"Could not generate credentials for RPC");
return GeniResponse->new(GENIRESPONSE_ERROR(), -1,
"Could not generate credentials for RPC");
}
#
......
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