From 6241a2e8c0430490bf19f3ee4e686dae4c5e1b3f Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Tue, 3 Jul 2018 11:42:46 +0200 Subject: [PATCH] Remove reference to removed error type (#7491) --- metricbeat/module/traefik/health/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metricbeat/module/traefik/health/data.go b/metricbeat/module/traefik/health/data.go index 0f3767b41729..5cc5bc5020d9 100644 --- a/metricbeat/module/traefik/health/data.go +++ b/metricbeat/module/traefik/health/data.go @@ -37,7 +37,7 @@ var ( } ) -func eventMapping(health map[string]interface{}) (common.MapStr, *s.Errors) { +func eventMapping(health map[string]interface{}) (common.MapStr, error) { if averageResponseTimeSec, ok := health["average_response_time_sec"]; ok { if averageResponseTimeSec, ok := averageResponseTimeSec.(float64); ok { health["average_response_time_us"] = averageResponseTimeSec * 1000 * 1000