]> arthur.barton.de Git - netdata.git/commitdiff
do not check chart ids for rename
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Tue, 17 Jan 2017 22:20:07 +0000 (00:20 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Tue, 17 Jan 2017 22:20:07 +0000 (00:20 +0200)
src/sys_fs_cgroup.c

index d3e7855d8dcdf149afe103f1f843665e92a6a9af..d17593ab8fdcc2ad4f019f3a1081a394314d2a6e 100644 (file)
@@ -1021,8 +1021,7 @@ static inline struct cgroup *cgroup_add(const char *id) {
     cgroup_root_count++;
 
     // fix the chart_id and title by calling the external script
-    if(simple_pattern_matches(enabled_cgroup_renames, cg->id) ||
-       simple_pattern_matches(enabled_cgroup_renames, cg->chart_id)) {
+    if(simple_pattern_matches(enabled_cgroup_renames, cg->id)) {
 
         cgroup_get_chart_name(cg);