Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Jul 22, 2020
1 parent 3ac2581 commit 10bfeb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metricbeat/mb/lightmetricset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 10bfeb4

Please sign in to comment.