Skip to content

Commit

Permalink
Apply hydrogenesis work from ganglia#206 and make a pretty pull reque…
Browse files Browse the repository at this point in the history
…st out

of it
  • Loading branch information
cburroughs committed Sep 30, 2013
1 parent aacd404 commit 814d23b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stacked.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
$min_index = min(array_keys($hosts));

foreach($hosts as $index => $host) {
$cx = $index/(1+count($hosts));
$cx = $i/(1+count($hosts));
$i++;
$color = get_col($cx);
if ($conf['strip_domainname'])
$host = strip_domainname($host);
Expand Down

0 comments on commit 814d23b

Please sign in to comment.