From 567e069b4e275e866f922b8c4637e327229c02aa Mon Sep 17 00:00:00 2001 From: Rafael Fonseca Date: Fri, 21 Nov 2014 15:05:26 +1300 Subject: [PATCH 1/2] Fix count check of clusters in $grid --- get_ganglia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_ganglia.php b/get_ganglia.php index a6296105..766bf425 100644 --- a/get_ganglia.php +++ b/get_ganglia.php @@ -25,7 +25,7 @@ exit; } # If we only have one cluster source, suppress MetaCluster output. - if (count($grid) <= 2 and $context=="meta") + if (count($grid) < 2 and $context=="meta") { # Lets look for one cluster (the other is our grid). foreach($grid as $source) From 2164f3fb3b3a77f2501627400d406dffdcb95782 Mon Sep 17 00:00:00 2001 From: Rafael Fonseca Date: Fri, 21 Nov 2014 15:07:03 +1300 Subject: [PATCH 2/2] Do not filter out clusters that have the same name as the grid in meta --- header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/header.php b/header.php index bb9d69a0..2f6b7be2 100644 --- a/header.php +++ b/header.php @@ -175,7 +175,7 @@ function make_node_menu($self, $node_menu .= "