Commit 084c1c6e authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor change to logging metadata collection in previous revision.

parent c07def92
#!/usr/bin/perl -wT
#
# Copyright (c) 2008-2012 University of Utah and the Flux Group.
# Copyright (c) 2008-2013 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -513,6 +513,7 @@ sub GetTicketAux($$$$$$$)
return $slice
if (GeniResponse::IsResponse($slice));
}
main::AddLogfileMetaData("slice_idx", $slice->idx());
return GetTicketAuxAux($slice, $user, $rspecstr,
$isupdate, $impotent, $v2, $level, $ticket,
......
......@@ -1309,18 +1309,8 @@ sub GetTicket($)
else {
# Slice does not exist yet.
}
my $response =
GeniCM::GetTicketAux($credential, $rspecstr, 0, $impotent, 1, 1, undef);
return $response
if (GeniResponse::IsResponse($response));
$slice = GeniSlice->Lookup($slice_urn);
if (!defined($slice)) {
return GeniResponse->Create(GENIRESPONSE_SUCCESS);
}
main::AddLogfileMetaData("slice_idx", $slice->idx());
return $response;
return GeniCM::GetTicketAux($credential,
$rspecstr, 0, $impotent, 1, 1, undef);
}
#
......
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