Skip to content

Commit

Permalink
Remove reference to removed error type (#7491)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored and ruflin committed Jul 3, 2018
1 parent a8da186 commit 6241a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/module/traefik/health/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6241a2e

Please # to comment.