diff --git a/src/plugins/metrics_sender.go b/src/plugins/metrics_sender.go index b23c976f7..d982ee26c 100644 --- a/src/plugins/metrics_sender.go +++ b/src/plugins/metrics_sender.go @@ -72,7 +72,7 @@ func (r *MetricsSender) Process(msg *core.Message) { if !r.readyToSend.Load() { continue } - + switch report := p.(type) { case *proto.MetricsReport: message := client.MessageFromMetrics(report)