From 10bfeb4c05a17ffbfaea21ec3f7b88d6f327e184 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Wed, 22 Jul 2020 17:39:18 +0200 Subject: [PATCH] Fix comment --- metricbeat/mb/lightmetricset.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metricbeat/mb/lightmetricset.go b/metricbeat/mb/lightmetricset.go index abbba24bd34..d19d718ab94 100644 --- a/metricbeat/mb/lightmetricset.go +++ b/metricbeat/mb/lightmetricset.go @@ -52,7 +52,8 @@ func (m *LightMetricSet) Registration(r *Register) (MetricSetRegistration, error originalFactory := registration.Factory registration.IsDefault = m.Default - // Disable the host parser, we will call it as part of the factory + // Disable the host parser, we will call it as part of the factory so the original + // host in the base module is not modified. originalHostParser := registration.HostParser registration.HostParser = nil