diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-03-04 10:36:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 10:36:02 +0200 |
commit | d28d1f71c7e0093662d5e5917685b430759848af (patch) | |
tree | 97d08fd82e1aea11ace9aaeba3346b6503c630e1 /src/go/collectors | |
parent | 8eb0b373d0eb431d4cfffaa572e6294c53a18ebe (diff) |
fix go.d.plugin/pulsar tests (#17093)
Diffstat (limited to 'src/go/collectors')
-rw-r--r-- | src/go/collectors/go.d.plugin/modules/pulsar/charts.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/pulsar/charts.go b/src/go/collectors/go.d.plugin/modules/pulsar/charts.go index a0599dc8dd..3ddff66f6d 100644 --- a/src/go/collectors/go.d.plugin/modules/pulsar/charts.go +++ b/src/go/collectors/go.d.plugin/modules/pulsar/charts.go @@ -269,6 +269,7 @@ var namespaceCharts = Charts{ } func toNamespaceChart(chart Chart) Chart { + chart = *chart.Copy() if chart.ID == sumBrokerComponentsChart.ID { _ = chart.RemoveDim("pulsar_namespaces_count") } |