aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-10-29 20:24:14 +0100
committerRenato Golin <renato.golin@linaro.org>2016-10-29 20:24:14 +0100
commit4d98a3afc159a09559bc85b822302c1fede5ed25 (patch)
tree374bfedda46f2e44bce4e56ee82f9cb368fe866e
parent36349179f5499a28f8cbca7628075b1075e62e33 (diff)
[monitor] Fixes server specific cache issue
Change-Id: I7d66a007d01751346347492d2d58e6f3cc59e43d
-rwxr-xr-xmonitor/bot-status4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/bot-status b/monitor/bot-status
index 4a794f2..18144a4 100755
--- a/monitor/bot-status
+++ b/monitor/bot-status
@@ -63,7 +63,7 @@ foreach my $server (@$config) {
&debug(" Ignoring...\n");
}
&debug($status->{'fail'} ? " FAIL\n" : " PASS\n");
- $bot_cache{$bot->{'name'}} = $status;
+ $bot_cache{$BASE_URL.'/'.$bot->{'name'}} = $status;
}
}
}
@@ -88,7 +88,7 @@ foreach my $server (@$config) {
"<th>Build #</th><th>Commits</th></tr>\n";
foreach my $bot (@{$builder->{'bots'}}) {
print $temp "<tr>\n";
- my $status = $bot_cache{$bot->{'name'}};
+ my $status = $bot_cache{$BASE_URL.'/'.$bot->{'name'}};
my $url = "$BASE_URL/$BUILDER_URL/$bot->{'name'}";
print $temp " <td><a href='$url'>$bot->{'name'}</a></td>\n";
if ($status->{'fail'}) {