Commit 44c485cd authored by Leigh B Stoller's avatar Leigh B Stoller

Add Project to metadata, which tells us the SA was contacted with a

sub-sa URL.
parent 6eca6567
......@@ -462,6 +462,7 @@ sub Start($$)
push(@metadata, ["Method", $method]);
push(@metadata, ["Version", $VERSION]) if (defined($VERSION));
push(@metadata, ["StartTime", TBTimeStamp()]);
push(@metadata, ["Project", $PROJECT] if (defined($PROJECT));
#
# We want to catch warnings, specifically uninitialized variables,
......
......@@ -663,6 +663,7 @@ push(@metadata, ["Module", $MODULE]);
push(@metadata, ["Method", $method]);
push(@metadata, ["Version", $GENI_VERSION]) if (defined($GENI_VERSION));
push(@metadata, ["StartTime", TBTimeStamp()]);
push(@metadata, ["Project", $PROJECT] if (defined($PROJECT));
my $starttime = [gettimeofday()];
eval { $result = &{ $GENI_METHODS->{$method} }(@{ $call->{'value'} }) };
......
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