diff options
author | Vladimir Kobal <vlad@prokk.net> | 2022-06-22 16:40:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 17:40:03 +0300 |
commit | 6bf5a67e1468bcddef98029d4a06b7b2e68c9c59 (patch) | |
tree | 4c897161ebd930c2daa79cfd2cced72fc57cd029 /collectors | |
parent | 7b48097e0d87af876d7d805a8675c48925e3220b (diff) |
Fix cgroups netdev chart labels (#13200)
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/proc.plugin/proc_net_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/proc.plugin/proc_net_dev.c b/collectors/proc.plugin/proc_net_dev.c index 94807a9e30..bee4b77b1f 100644 --- a/collectors/proc.plugin/proc_net_dev.c +++ b/collectors/proc.plugin/proc_net_dev.c @@ -487,7 +487,7 @@ static inline void netdev_rename_cgroup(struct netdev *d, struct netdev_rename * snprintfz(buffer, RRD_ID_LENGTH_MAX, "net %s", r->container_device); d->chart_family = strdupz(buffer); - rrdlabels_migrate_to_these(d->chart_labels, r->chart_labels); + rrdlabels_copy(d->chart_labels, r->chart_labels); d->priority = NETDATA_CHART_PRIO_CGROUP_NET_IFACE; d->flipped = 1; |