Skip to content

Commit

Permalink
Sort peers properly (fixes #577)
Browse files Browse the repository at this point in the history
  • Loading branch information
jomono committed Nov 6, 2009
1 parent e2e623e commit 582b6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/lib/Munin/Master/HTMLOld.pm
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ sub get_peer_nodes {
my $me = munin_get_node_name($hash);
my $pchildren = munin_get_children($parent);

foreach my $peer (sort {munin_get_node_name($a) cmp munin_get_node_name($b)}
foreach my $peer (sort {munin_get_node_name($b) cmp munin_get_node_name($a)}
@$pchildren) {
next unless defined $peer and ref($peer) eq "HASH";
next
Expand Down

0 comments on commit 582b6cb

Please sign in to comment.