summaryrefslogtreecommitdiffstats
path: root/tools/infra-dashboard/pages/slaves.php
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-06-07 00:36:43 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-06-07 10:17:30 +0200
commitc4441ddfd797a2a1eb68f582d98a2147af0d5440 (patch)
tree8409bf543324697836ffda5ca1307d5f11bd6946 /tools/infra-dashboard/pages/slaves.php
parentaf427a992a96519c00ac9f98db8745f9fc1198fb (diff)
Adaptations in the dashboard for the LF server
JIRA: RELENG-12 Removed DB information. Change-Id: I7a307a6f4b416837c9e0376764aeee58e2631657 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'tools/infra-dashboard/pages/slaves.php')
-rw-r--r--tools/infra-dashboard/pages/slaves.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/infra-dashboard/pages/slaves.php b/tools/infra-dashboard/pages/slaves.php
index 4eb2add9..25fafd26 100644
--- a/tools/infra-dashboard/pages/slaves.php
+++ b/tools/infra-dashboard/pages/slaves.php
@@ -8,6 +8,7 @@
<?php
include '../utils/jenkinsAdapter.php';
+ $array = $SLAVES->xpath('computer');
echo '<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">';
echo "<thead>";
@@ -18,8 +19,7 @@
echo "</tr>";
echo "</thead>";
echo "<tbody>";
-
- foreach ($SLAVES->xpath('computer') as &$value) {
+ foreach ($array as &$value) {
$slave = $value->displayName;
$idle = $value->idle;
@@ -55,6 +55,4 @@
}
echo '</tbody>';
echo '</table>';
-
-
?>