Commit 4484fc4e authored by Wim Van de Meerssche's avatar Wim Van de Meerssche Committed by Leigh B Stoller
Browse files

minor whitespace fix

parent 7d8cd9c5
...@@ -450,7 +450,7 @@ sub UpdateMember($$$) ...@@ -450,7 +450,7 @@ sub UpdateMember($$$)
{ {
my ($member_urn, $credential_args, $options) = @_; my ($member_urn, $credential_args, $options) = @_;
return GeniResponse->Create(GENIRESPONSE_FORBIDDEN, undef, return GeniResponse->Create(GENIRESPONSE_FORBIDDEN, undef,
"update MEMBER is unimplemented"); "Update Member is Unimplemented");
} }
sub GetCredentials($$$) sub GetCredentials($$$)
...@@ -464,14 +464,16 @@ sub GetCredentials($$$) ...@@ -464,14 +464,16 @@ sub GetCredentials($$$)
my $credential_args = GeniStd::FilterCredentials($credential_args); my $credential_args = GeniStd::FilterCredentials($credential_args);
if (@{ $credential_args }) { if (@{ $credential_args }) {
($credential,$speaksfor) = GeniStd::CheckCredentials($credential_args); ($credential,$speaksfor) = GeniStd::CheckCredentials($credential_args);
return $credential if (GeniResponse::IsResponse($credential)); return $credential
if (GeniResponse::IsResponse($credential));
} }
my $args = { "urn" => $member_urn }; my $args = { "urn" => $member_urn };
if (defined($speaksfor)) { if (defined($speaksfor)) {
$args->{"credential"} = $speaksfor->asString(); $args->{"credential"} = $speaksfor->asString();
} }
$credential = GeniSA::GetCredential($args); $credential = GeniSA::GetCredential($args);
return $credential if (GeniResponse::IsError($credential)); return $credential
if (GeniResponse::IsError($credential));
my $blob = { my $blob = {
"geni_type" => "geni_sfa", "geni_type" => "geni_sfa",
......
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