Skip to content

Commit

Permalink
Stop trying to copy cdef when aliasing fields in graph_order -- 1.2 d…
Browse files Browse the repository at this point in the history
…oesn't do that.
  • Loading branch information
jomono committed Nov 18, 2009
1 parent 059c497 commit 1ec66ae
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions master/lib/Munin/Master/GraphOld.pm
Expand Up @@ -404,15 +404,6 @@ sub expand_specials {
}
}

# cdef is special...
if (!defined $service->{$fname}->{"cdef"}) {
if (defined $src->{"cdef"}) {
(my $tmpcdef = $src->{"cdef"})
=~ s/([,=])$sname([,=]|$)/$1$fname$2/g;
munin_set_var_loc($service, [$fname, "cdef"], $tmpcdef);
}
}

if (!defined $service->{$fname}->{"label"}) {
munin_set_var_loc($service, [$fname, "label"], $fname);
}
Expand Down

0 comments on commit 1ec66ae

Please sign in to comment.