Skip to content

Commit

Permalink
Fix count check of clusters in $grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Fonseca committed Nov 21, 2014
1 parent 2b7a5fe commit 567e069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_ganglia.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 567e069

Please sign in to comment.