summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodeStatus.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/nodeStatus.php b/nodeStatus.php
index 4a5af3c..88c487e 100644
--- a/nodeStatus.php
+++ b/nodeStatus.php
@@ -67,8 +67,6 @@ for($i=0; $i<$nodeCount; $i++) {
/* node is active? */
if ($nodeInfo[$i][2] != 3)
$node_alive = true;
-
- $nodeInfo[$i][5] = NodeStandby($i);
}
for ($i = 0; $i < $nodeCount; $i++) {
@@ -103,6 +101,7 @@ for ($i = 0; $i < $nodeCount; $i++) {
break;
}
}
+ $nodeInfo[$i][5] = NodeStandby($i);
}
$tpl->assign('refreshTime', _PGPOOL2_STATUS_REFRESH_TIME*1000);