Commit 829fee2f authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix credential error in BindToSlice.

parent 7e49ec0b
#!/usr/bin/perl -wT
#
# GENIPUBLIC-COPYRIGHT
# Copyright (c) 2008-2010 University of Utah and the Flux Group.
# Copyright (c) 2008-2011 University of Utah and the Flux Group.
# All rights reserved.
#
package GeniSA;
......@@ -706,7 +706,7 @@ sub BindToSlice($)
print STDERR "Could not find local authority object\n";
return GeniResponse->Create(GENIRESPONSE_ERROR);
}
my $credential = CheckCredential($cred, $authority);
my $credential = CheckCredential($cred);
return $credential
if (GeniResponse::IsResponse($credential));
......
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